SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class Captcha

Means to generate and process CAPTCHAs of various implementations

Variables

NameVisibilityDescription
$class (static) 

Functions

NameVisibilityDescription
checkpublic (static)Checks the captcha field against the submitted text
fieldpublic (static)Shows a captcha field
initpublic (static)Loads the default captcha class from config
useClasspublic (static)Sets which library to use for CAPTCHA implementation

public check

bool Captcha::check ( );

Checks the captcha field against the submitted text

public field

void Captcha::field ( );

Shows a captcha field

public init

void Captcha::init ( );

Loads the default captcha class from config

public useClass

void Captcha::useClass ( string $class_name );

Sets which library to use for CAPTCHA implementation