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

Class: Text_CAPTCHA_Driver_Word

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

Class Overview

Text_CAPTCHA
   |
   --Text_CAPTCHA_Driver_Word

Text_CAPTCHA - creates a CAPTCHA for Turing tests


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 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

Parameters:

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