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

Class: reCaptcha

Source Location: /zp-extensions/reCaptcha.php

Class reCaptcha

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 reCaptcha
string;   getCaptcha()   generates a simple captcha for comments
unknown   getOptionsSupported()   Returns array of supported options for the admin-options handler
void   handleOption()  

[ Top ]
Properties
mixed   $name = 'reCaptcha' [line 39]

Redefinition of:
_zp_captcha::$name

[ Top ]
Methods
Constructor __construct  [line 46]

  captcha __construct( )

Class instantiator



[ Top ]
checkCaptcha  [line 93]

  bool checkCaptcha( $s1, $s2  )

Checks reCaptcha

Parameters:
   $s1: 
   $s2: 


Redefinition of:
_zp_captcha::checkCaptcha()

[ Top ]
getCaptcha  [line 107]

  string; getCaptcha( $prompt  )

generates a simple captcha for comments

Thanks to gregb34 who posted the original code

Returns the captcha code string and image URL (via the $image parameter).

Parameters:
   $prompt: 


Redefinition of:
_zp_captcha::getCaptcha()

[ Top ]
getOptionsSupported  [line 55]

  unknown getOptionsSupported( )

Returns array of supported options for the admin-options handler



[ Top ]
handleOption  [line 81]

  void handleOption( $key, $cv  )

Parameters:
   $key: 
   $cv: 


[ Top ]

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