Text_CAPTCHA_Numeral
[ class tree: Text_CAPTCHA_Numeral ] [ index: Text_CAPTCHA_Numeral ] [ all elements ]

Source for file NumeralInterface.php

Documentation is available at NumeralInterface.php

  1. <?php
  2. // {{{ Disclaimer
  3. // +----------------------------------------------------------------------+
  4. // | PHP version 5                                                       |
  5. // +----------------------------------------------------------------------+
  6. // | Copyright (c) 1998-2006 David Coallier                               | 
  7. // | All rights reserved.                                                 |
  8. // +----------------------------------------------------------------------+
  9. // |                                                                      |
  10. // | Redistribution and use in source and binary forms, with or without   |
  11. // | modification, are permitted provided that the following conditions   |
  12. // | are met:                                                             |
  13. // |                                                                      |
  14. // | Redistributions of source code must retain the above copyright       |
  15. // | notice, this list of conditions and the following disclaimer.        |
  16. // |                                                                      |
  17. // | Redistributions in binary form must reproduce the above copyright    |
  18. // | notice, this list of conditions and the following disclaimer in the  |
  19. // | documentation and/or other materials provided with the distribution. |
  20. // |                                                                      |
  21. // | Neither the name of David Coallier nor the names of his contributors |
  22. // | may be used to endorse                                               |
  23. // | or promote products derived from this software without specific prior|
  24. // | written permission.                                                  |
  25. // |                                                                      |
  26. // | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS  |
  27. // | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT    |
  28. // | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS    |
  29. // | FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE      |
  30. // | REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,          |
  31. // | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
  32. // | BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS|
  33. // |  OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED  |
  34. // | AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT          |
  35. // | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY|
  36. // | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE          |
  37. // | POSSIBILITY OF SUCH DAMAGE.                                          |
  38. // +----------------------------------------------------------------------+
  39. // | Author: David Coallier <davidc@agoraproduction.com>                  |
  40. // +----------------------------------------------------------------------+
  41. // }}}
  42. // {{{ Text_CAPTCHA_Numeral_Interface
  43. /**
  44.  * Text CAPTCHA Numeral Interface
  45.  *
  46.  * This is the textcaptchanumeral interface
  47.  * that is called everytime a new instance of
  48.  * Text_CAPTCHA_Numeral is called.
  49.  *
  50.  * @author   David Coallier <davidc@agoraproduction.com>
  51.  * @package  Text_CAPTCHA_Numeral
  52.  * @category CAPTCHA
  53.  */
  54. {
  55.     // {{{ public function getOperation
  56.     /**
  57.      * Get operation
  58.      * 
  59.      * This function will get the operation
  60.      * string from $this->operation
  61.      *
  62.      * @access public
  63.      */
  64.     public function getOperation();
  65.     // }}}
  66.     // {{{ public function getAnswer
  67.     /**
  68.      * Get the answer value
  69.      * 
  70.      * This function will retrieve the answer
  71.      * value from this->answer and return it so
  72.      * we can then display it to the user.
  73.      *
  74.      * @access public
  75.      */
  76.     public function getAnswer();
  77.     // }}}
  78.     // {{{ public function getFirstNumber
  79.     /**
  80.      * Get the first number
  81.      * 
  82.      * This function will get the first number
  83.      * value from $this->firstNumber
  84.      * 
  85.      * @access public
  86.      */
  87.     public function getFirstNumber();
  88.     // }}}
  89.     // {{{ public function getSecondNumber
  90.     /**
  91.      * Get the second number value
  92.      * 
  93.      * This function will return the second number value
  94.      * 
  95.      * @access public
  96.      */
  97.     public function getSecondNumber();
  98.     // }}}
  99. }
  100. // }}}

Documentation generated on Mon, 11 Mar 2019 15:56:39 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.