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

Class: Text_CAPTCHA_Driver_Figlet

Source Location: /Text_CAPTCHA-0.3.0/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 20]
Text_CAPTCHA_Driver_Figlet - Text_CAPTCHA driver Figlet based CAPTCHAs


[ Top ]


Class Variables

$_error =  null

[line 84]

Last error
  • Access: protected

Type:   PEAR_Error


[ Top ]



Method Detail

getCAPTCHA   [line 184]

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

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

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

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