Tags

PerlDoc

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


Parent package: Foswiki::Plugins::CaptchaPlugin
Child packages:

    internal package Foswiki::Plugins::CaptchaPlugin::Captcha

    class to manage the captcha

    ClassMethod new() → $captcha

    constructor for a captcha object

    ObjectMethod randomColor() → [$r, g, b]

    returns a random rbg color

    ObjectMethod invertColor($rgb) → [$r, $g, $b]

    inverts the givene color

    ObjectMethod writeDebug($message)

    prints debug $message to STDERR

    ObjectMethod toHash() → $hash

    returns a hash representation of this captcha

    ObjectMethod toHtml() → $html

    returns a html representation of this captcha

    ObjectMethod init($dontCreate)

    inits this captcha

    ObjectMethod isValid($response, $forceDelete) → $boolean

    returns true if the given response is valid with respect to this captcha

    Topic revision: r1 - 24 Jun 2022, 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 CLASSE Wiki? Send feedback