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

Class: Text_CAPTCHA_Driver_Word

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

Class Overview


Text_CAPTCHA - creates a CAPTCHA for Turing tests


Inherited Variables

Inherited Methods

Class: Text_CAPTCHA

Create a new Text_CAPTCHA object
Return secret CAPTCHA phrase
Sets secret CAPTCHA phrase

Class Details

[line 21]
Text_CAPTCHA - creates a CAPTCHA for Turing tests

Class to create a Turing test for websites by creating an image, ASCII art or something else with some (obfuscated) characters

[ Top ]

Method Detail

getCAPTCHA   [line 107]

text getCAPTCHA( )

Return CAPTCHA as a string

This method returns the CAPTCHA as string

  • Return: string
  • Access: public

[ Top ]

init   [line 63]

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

init function

Initializes the new Text_CAPTCHA_Driver_Word object

  • Access: public


array   $options   —  CAPTCHA options with these keys: phrase The "secret word" of the CAPTCHA length The number of characters in the phrase locale The locale for Numbers_Words mode The mode for Numbers_Words

[ Top ]

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