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

Class: zpCaptcha

Source Location: /zp-extensions/zpCaptcha.php

Class zpCaptcha

Class Overview

Zenphoto default captcha handler

Located in /zp-extensions/zpCaptcha.php [line 18]

_zp_captcha
   |
   --zpCaptcha
Author(s):
  • Stephen Billard (sbillard)
Information Tags:

Properties

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From _zp_captcha

_zp_captcha::checkCaptcha()
_zp_captcha::getCaptcha()

[ Top ]
Property Summary
mixed   $name  

[ Top ]
Method Summary
captcha   __construct()   Class instantiator
bool   checkCaptcha()   Checks if a CAPTCHA string matches the CAPTCHA attached to the comment post Returns true if there is a match.
array;   getCaptcha()   generates a simple captcha
string   getCaptchaKey()   gets (or creates) the CAPTCHA encryption key
unknown   getOptionsSupported()   Returns array of supported options for the admin-options handler
void   handleOption()  

[ Top ]
Properties
mixed   $name = 'zpCaptcha' [line 20]

Redefinition of:
_zp_captcha::$name

[ Top ]
Methods
Constructor __construct  [line 27]

  captcha __construct( )

Class instantiator



[ Top ]
checkCaptcha  [line 122]

  bool checkCaptcha( string $code, string $code_ok  )

Checks if a CAPTCHA string matches the CAPTCHA attached to the comment post Returns true if there is a match.

Parameters:
string   $code: 
string   $code_ok: 


Redefinition of:
_zp_captcha::checkCaptcha()

[ Top ]
getCaptcha  [line 146]

  array; getCaptcha( $prompt  )

generates a simple captcha

Parameters:
   $prompt: 


Redefinition of:
_zp_captcha::getCaptcha()

[ Top ]
getCaptchaKey  [line 98]

  string getCaptchaKey( )

gets (or creates) the CAPTCHA encryption key



[ Top ]
getOptionsSupported  [line 43]

  unknown getOptionsSupported( )

Returns array of supported options for the admin-options handler



[ Top ]
handleOption  [line 70]

  void handleOption( $key, $cv  )

Parameters:
   $key: 
   $cv: 


[ Top ]

Documentation generated on Sat, 07 Jun 2014 18:03:53 +0200 by phpDocumentor 1.4.3