internal package Foswiki::Plugins::CaptchaPlugin::Core

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview

internal package Foswiki::Plugins::CaptchaPlugin::Core

core class for this plugin

an singleton instance is allocated on demand

ClassMethod new() → $core

constructor for a Core object

ObjectMethod DESTROY()

ObjectMethod getStore() → $store

creates a store delegate

ObjectMethod json() → $json

creat3es a JSON delegate

ObjectMethod CAPTCHACHECK($params, $topic, $web) → $string

implements the %CAPTCHACHECK macro

ObjectMethod jsonRpcCreate($requesst)

JSON-RPC backend for the create method

ObjectMethod CAPTCHAFORM($params, $topic, $web) → $string

implements the %CAPTCHAFORM macro

ObjectMethod CAPTCHA($params, $topic, $web) → $string

implements the %CAPTCHA macro

ObjectMethod toHtml5Data($data) → $string

converts the $data hash into a HTML5 data representation

ObjectMethod isValidCaptcha($challenge, $responce, $forceDelete) → $boolean

returns true if the given challenge matches the captcha as stored

ObjectMethod validateRegistration($data)

throws a captcha exception if the captcha is invalid

ObjectMethod beforeSaveHandler()

implements the before save validation

Topic revision: r1 - 21 Nov 2014, ProjectContributor
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback