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

Class: Text_CAPTCHA_Driver_Numeral

Source Location: /pear/Text/CAPTCHA/Driver/Numeral.php

Class Overview

Text_CAPTCHA
   |
   --Text_CAPTCHA_Driver_Numeral

Class used for numeral captchas


Author(s):

Methods


Inherited Methods

Class: Text_CAPTCHA

Text_CAPTCHA::factory()
Create a new Text_CAPTCHA object
Text_CAPTCHA::getPhrase()
Return secret CAPTCHA phrase
Text_CAPTCHA::setPhrase()
Sets secret CAPTCHA phrase

Class Details

[line 55]
Class used for numeral captchas

This class is intended to be used to generate numeral captchas as such as: Example: Give me the answer to "54 + 2" to prove that you are human.




Tags:

author:  David Coallier <davidc@agoraproduction.com>
author:  Christian Wenz <wenz@php.net>


[ Top ]


Class Methods


method getCAPTCHA [line 429]

string getCAPTCHA( )

Get operation

This function will get the operation string from $this->_operation




Tags:

return:  The operation String
access:  public


[ Top ]

method init [line 140]

void init( [ $options = array()])



Parameters:

   $options  

[ Top ]

method _getFirstNumber [line 400]

integer _getFirstNumber( )

Get the first number

This function will get the first number value from $this->_firstNumber




Tags:

return:  The firstNumber
access:  public


[ Top ]

method _getSecondNumber [line 414]

integer _getSecondNumber( )

Get the second number value

This function will return the second number value




Tags:

return:  The second number
access:  public


[ Top ]


Documentation generated on Sun, 08 Jan 2012 17:51:55 +0100 by phpDocumentor 1.4.3