ErrorDrawer Class Reference
[CAPTCHA's implementation]

List of all members.

Public Member Functions

 __construct ($turingImage)
 draw ($string= 'ERROR!')
 
Returns:
ErrorDrawer


Static Public Member Functions

static setDrawError ($drawError=false)
static isDrawError ()

Public Attributes

const FONT_SIZE = 4

Static Private Attributes

static $drawError = true


Detailed Description

Definition at line 16 of file ErrorDrawer.class.php.


Constructor & Destructor Documentation

ErrorDrawer::__construct ( turingImage  ) 

Definition at line 32 of file ErrorDrawer.class.php.


Member Function Documentation

static ErrorDrawer::setDrawError ( drawError = false  )  [static]

Definition at line 22 of file ErrorDrawer.class.php.

References $drawError.

static ErrorDrawer::isDrawError (  )  [static]

Definition at line 27 of file ErrorDrawer.class.php.

Referenced by draw().

ErrorDrawer::draw ( string = 'ERROR!'  ) 

Returns:
ErrorDrawer

Definition at line 40 of file ErrorDrawer.class.php.

References FONT_SIZE, and isDrawError().

Here is the call graph for this function:


Member Data Documentation

const ErrorDrawer::FONT_SIZE = 4

Definition at line 18 of file ErrorDrawer.class.php.

Referenced by draw().

ErrorDrawer::$drawError = true [static, private]

Definition at line 20 of file ErrorDrawer.class.php.

Referenced by setDrawError().


The documentation for this class was generated from the following file:
Generated on Sun Dec 9 21:57:21 2007 for onPHP by  doxygen 1.5.4