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

Class: Text_CAPTCHA_Numeral

Source Location: /Text_CAPTCHA_Numeral-1.1.0/Numeral.php

Class Overview


Class used for numeral captchas


Author(s):

Methods


Inherited Variables

Inherited Methods


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

__construct (Constructor)   [line 152]

Text_CAPTCHA_Numeral __construct( )

  • Access: public

[ Top ]

getAnswer   [line 407]

string getAnswer( )

Get the answer value

This function will retrieve the answer value from this->answer and return it so we can then display it to the user.

  • Return: The operation answer value.
  • Access: public

[ Top ]

getFirstNumber   [line 422]

integer getFirstNumber( )

Get the first number

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

  • Return: The firstNumber
  • Access: public

[ Top ]

getOperation   [line 391]

string getOperation( )

Get operation

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

  • Return: The operation String
  • Access: public

[ Top ]

getSecondNumber   [line 436]

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 Mon, 11 Mar 2019 14:56:25 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.