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

Class: Text_CAPTCHA

Source Location: /Text_CAPTCHA-0.1.6/CAPTCHA.php

Class Overview


Text_CAPTCHA - creates a CAPTCHA for Turing tests


Methods


Child classes:

Text_CAPTCHA_Driver_Image
Text_CAPTCHA_Driver_Image - Text_CAPTCHA driver graphical CAPTCHAs

Inherited Variables

Inherited Methods


Class Details

[line 123]
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

factory   [line 143]

mixed &factory( string $driver)

Create a new Text_CAPTCHA object
  • Return: a newly created Text_CAPTCHA object, or a PEAR error object on error
  • See: PEAR::isError()

Parameters:

string   $driver     name of driver class to initialize

[ Top ]

getPhrase   [line 177]

phrase getPhrase( )

Return secret CAPTCHA phrase

This method returns the CAPTCHA phrase

  • Return: secret phrase
  • Access: public

[ Top ]


Documentation generated on Thu, 27 Oct 2005 12:00:15 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.