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

Class: Text_CAPTCHA_Driver_Figlet

Source Location: /Text_CAPTCHA-0.4.6/CAPTCHA/Driver/Figlet.php

Class Overview

Text_CAPTCHA
   |
   --Text_CAPTCHA_Driver_Figlet

Text_CAPTCHA_Driver_Figlet - Text_CAPTCHA driver Figlet based CAPTCHAs


Author(s):

Variables

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 17]
Text_CAPTCHA_Driver_Figlet - Text_CAPTCHA driver Figlet based CAPTCHAs


[ Top ]


Class Variables

$_error =  null

[line 81]

Last error
  • Access: protected

Type:   PEAR_Error


[ Top ]



Method Detail

getCAPTCHA   [line 197]

mixed getCAPTCHA( )

Return CAPTCHA in the specified format

This method returns the CAPTCHA depending on the output format

  • Return: Formatted captcha or PEAR error
  • Access: public

[ Top ]

getCAPTCHAAsHTML   [line 225]

mixed getCAPTCHAAsHTML( )

Return CAPTCHA as HTML

This method returns the CAPTCHA as HTML

  • Return: HTML Figlet image or PEAR error
  • Access: public

[ Top ]

getCAPTCHAAsJavascript   [line 261]

mixed getCAPTCHAAsJavascript( )

Return CAPTCHA as JavaScript version of HTML

This method returns the CAPTCHA as a JavaScript string I'm not exactly sure what the point of doing this would be.

  • Return: JavaScript string or PEAR error
  • Access: public

[ Top ]

init   [line 92]

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

init function

Initializes the new Text_CAPTCHA_Driver_Figlet object and creates a GD image

  • Return: true upon success, PEAR error otherwise
  • Access: public

Parameters:

array   $options     CAPTCHA options

[ Top ]


Documentation generated on Sat, 16 Mar 2013 15:30:03 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.