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

Class: Text_CAPTCHA_Driver_Figlet

Source Location: /Text_CAPTCHA-1.0.2/Text/CAPTCHA/Driver/Figlet.php

Class Overview

Text_CAPTCHA_Driver_Base
   |
   --Text_CAPTCHA_Driver_Figlet

Text_CAPTCHA_Driver_Figlet - Text_CAPTCHA driver Figlet based CAPTCHAs


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: Text_CAPTCHA_Driver_Base

Text_CAPTCHA_Driver_Base::getCAPTCHA()
Place holder for the real getCAPTCHA() method used by extended classes to return the generated CAPTCHA (as an image resource, as an ASCII text, ...)
Text_CAPTCHA_Driver_Base::getPhrase()
Return secret CAPTCHA phrase This method returns the CAPTCHA phrase
Text_CAPTCHA_Driver_Base::resetDriver()
Reset the phrase and the CAPTCHA.
Text_CAPTCHA_Driver_Base::setCaptcha()
Sets the generated captcha.
Text_CAPTCHA_Driver_Base::setPhrase()
Sets secret CAPTCHA phrase.

Class Details

[line 28]
Text_CAPTCHA_Driver_Figlet - Text_CAPTCHA driver Figlet based CAPTCHAs


[ Top ]


Method Detail

createCAPTCHA   [line 161]

void createCAPTCHA( )

Create CAPTCHA image.

This method creates a CAPTCHA image.

  • Return: on error
  • Throws: Text_CAPTCHA_Exception when loading font fails
  • Access: public

[ Top ]

createPhrase   [line 136]

string createPhrase( )

Create the passphrase.
  • Access: public

[ Top ]

initDriver   [line 82]

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

init function

Initializes the new Text_CAPTCHA_Driver_Figlet object and creates a GD image

  • Throws: Text_CAPTCHA_Exception when no options are given
  • Access: public

Parameters:

array   $options     CAPTCHA options

[ Top ]


Documentation generated on Fri, 28 Feb 2014 16:00:03 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.