Overview

Packages

  • admin
  • classes
    • media
  • CodeIgniter
    • Libraries
  • core
  • functions
  • JSMin
  • None
  • OpenID
  • PHP
  • PHPMailer
  • plugins
    • admin
    • development
    • feed
    • mail
    • media
    • misc
    • seo
    • spam
    • uploader
    • users
    • zenpage
    • zenphoto
      • news
  • Services
    • JSON

Classes

  • reCaptcha
  • zpCaptcha
  • zpSimpleSpam
  • zpTrivialSpam
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Class reCaptcha

Standins for when no captcha is enabled

_zp_captcha
Extended by reCaptcha
Package: plugins\spam
Located at zp-extensions/reCaptcha.php
Methods summary
public captcha
# __construct( )

Class instantiator

Class instantiator

Returns

captcha
public unknown
# getOptionsSupported( )

Returns array of supported options for the admin-options handler

Returns array of supported options for the admin-options handler

Returns

unknown
public
# handleOption( $key, $cv )
public boolean
# checkCaptcha( $s1, $s2 )

Checks reCaptcha

Checks reCaptcha

Returns

boolean

Overrides

_zp_captcha::checkCaptcha()
public string;
# getCaptcha( $prompt )

generates a simple captcha for comments

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).

Returns

string;

Overrides

_zp_captcha::getCaptcha()
Properties summary
public string $name
# 'reCaptcha'
Zenphoto doc API documentation generated by ApiGen