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

Class: PhpCaptcha

Source Location: /contrib/php-captcha.inc.php

Class Overview


The phpCaptcha class for the registration screen captcha


Variables

Methods



Class Details

[line 82]
The phpCaptcha class for the registration screen captcha



[ Top ]


Class Variables

$aCharSet =

[line 92]


Type:   mixed


[ Top ]

$aFonts =

[line 84]


Type:   mixed


[ Top ]

$bCaseInsensitive =

[line 93]


Type:   mixed


[ Top ]

$bCharShadow =

[line 90]


Type:   mixed


[ Top ]

$bUseColour =

[line 97]


Type:   mixed


[ Top ]

$iHeight =

[line 86]


Type:   mixed


[ Top ]

$iMaxFontSize =

[line 96]


Type:   mixed


[ Top ]

$iMinFontSize =

[line 95]


Type:   mixed


[ Top ]

$iNumChars =

[line 87]


Type:   mixed


[ Top ]

$iNumLines =

[line 88]


Type:   mixed


[ Top ]

$iSpacing =

[line 89]


Type:   mixed


[ Top ]

$iWidth =

[line 85]


Type:   mixed


[ Top ]

$oImage =

[line 83]


Type:   mixed


[ Top ]

$sCode =  ''

[line 99]


Type:   mixed


[ Top ]

$sFileType =

[line 98]


Type:   mixed


[ Top ]

$sOwnerText =

[line 91]


Type:   mixed


[ Top ]

$vBackgroundImages =

[line 94]


Type:   mixed


[ Top ]



Class Methods


constructor PhpCaptcha [line 101]

PhpCaptcha PhpCaptcha( $aFonts, [ $iWidth = CAPTCHA_WIDTH], [ $iHeight = CAPTCHA_HEIGHT])



Parameters:

   $aFonts  
   $iWidth  
   $iHeight  

[ Top ]

method CalculateSpacing [line 123]

void CalculateSpacing( )



[ Top ]

method CaseInsensitive [line 190]

void CaseInsensitive( $bCaseInsensitive)



Parameters:

   $bCaseInsensitive  

[ Top ]

method Create [line 358]

void Create( [ $inText = false], [ $sFilename = ''])



Parameters:

   $inText  
   $sFilename  

[ Top ]

method DisplayShadow [line 147]

void DisplayShadow( $bCharShadow)



Parameters:

   $bCharShadow  

[ Top ]

method DrawCharacters [line 275]

void DrawCharacters( )



[ Top ]

method DrawLines [line 219]

void DrawLines( )



[ Top ]

method DrawOwnerText [line 234]

void DrawOwnerText( )



[ Top ]

method GenerateCode [line 252]

void GenerateCode( )



[ Top ]

method SetBackgroundImages [line 194]

void SetBackgroundImages( $vBackgroundImages)



Parameters:

   $vBackgroundImages  

[ Top ]

method SetCharSet [line 155]

void SetCharSet( $vCharSet)



Parameters:

   $vCharSet  

[ Top ]

method SetFileType [line 210]

void SetFileType( $sFileType)



Parameters:

   $sFileType  

[ Top ]

method SetHeight [line 133]

void SetHeight( $iHeight)



Parameters:

   $iHeight  

[ Top ]

method SetMaxFontSize [line 202]

void SetMaxFontSize( $iMaxFontSize)



Parameters:

   $iMaxFontSize  

[ Top ]

method SetMinFontSize [line 198]

void SetMinFontSize( $iMinFontSize)



Parameters:

   $iMinFontSize  

[ Top ]

method SetNumChars [line 138]

void SetNumChars( $iNumChars)



Parameters:

   $iNumChars  

[ Top ]

method SetNumLines [line 143]

void SetNumLines( $iNumLines)



Parameters:

   $iNumLines  

[ Top ]

method SetOwnerText [line 151]

void SetOwnerText( $sOwnerText)



Parameters:

   $sOwnerText  

[ Top ]

method SetWidth [line 127]

void SetWidth( $iWidth)



Parameters:

   $iWidth  

[ Top ]

method UseColour [line 206]

void UseColour( $bUseColour)



Parameters:

   $bUseColour  

[ Top ]

method Validate [line 419]

void Validate( $sUserCode, [ $bCaseInsensitive = true])



Parameters:

   $sUserCode  
   $bCaseInsensitive  

[ Top ]

method WriteFile [line 340]

void WriteFile( $sFilename)



Parameters:

   $sFilename  

[ Top ]


Documentation generated on Thu, 13 Nov 2008 18:16:28 +0900 by phpDocumentor 1.4.1