Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 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
interface Text_CAPTCHA_Numeral_Interface
55
{
56
    // {{{ public function getOperation
57
    /**
58
     * Get operation
59
     *
60
     * This function will get the operation
61
     * string from $this->operation
62
     *
63
     * @access public
64
     */
65
    public function getOperation();
66
    // }}}
67
    // {{{ public function getAnswer
68
    /**
69
     * Get the answer value
70
     *
71
     * This function will retrieve the answer
72
     * value from this->answer and return it so
73
     * we can then display it to the user.
74
     *
75
     * @access public
76
     */
77
    public function getAnswer();
78
    // }}}
79
    // {{{ public function getFirstNumber
80
    /**
81
     * Get the first number
82
     *
83
     * This function will get the first number
84
     * value from $this->firstNumber
85
     *
86
     * @access public
87
     */
88
    public function getFirstNumber();
89
    // }}}
90
    // {{{ public function getSecondNumber
91
    /**
92
     * Get the second number value
93
     *
94
     * This function will return the second number value
95
     *
96
     * @access public
97
     */
98
    public function getSecondNumber();
99
    // }}}
100
}
101
// }}}