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

Class: Text_CAPTCHA_Driver_Numeral

Source Location: /Text_CAPTCHA-0.3.1/CAPTCHA/Driver/Numeral.php

Class Overview

Text_CAPTCHA
   |
   --Text_CAPTCHA_Driver_Numeral

Class used for numeral captchas


Author(s):

Methods


Inherited Variables

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 56]
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.



[ Top ]


Method Detail

getCAPTCHA   [line 430]

string getCAPTCHA( )

Get operation

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

  • Return: The operation String
  • Access: public

[ Top ]

init   [line 141]

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


Parameters:

   $options   — 

[ Top ]

_getFirstNumber   [line 401]

integer _getFirstNumber( )

Get the first number

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

  • Return: The firstNumber
  • Access: public

[ Top ]

_getSecondNumber   [line 415]

integer _getSecondNumber( )

Get the second number value

This function will return the second number value

  • Return: The second number
  • Access: public

[ Top ]


Documentation generated on Thu, 10 Dec 2015 05:46:55 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.