internal package Foswiki::Plugins::CaptchaPlugin::Store

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::Store

class to manage the captcha

ClassMethod new() → $store

constructor for a store object

ObjectMethod writeDebug($message)

prints debug $message to STDERR

ObjectMethod readCaptcha($challenge)

reads the store and creates a Captcha object for it

ObjectMethod writeCaptcha($captcha)

takes a Captcha object and saves it into the store

ObjectMethod removeCaptcha($captcha)

deletes the store for the given captcha object

ObjectMethod lockDB($mode)

locking for the captcha store

ObjectMethod unlockDB()

unlocks the store

ObjectMethod expire()

expires objects stored in the database

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