PerlDoc

24 Jun 2022 - 10:02 | Version 1 |
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

    Kontakt
    Pädagogische Hochschule Schwyz
    Zaystrasse 42
    CH-6410 Goldau
    T +41 41 859 05 90
    info@phsz.ch Dies ist ein Wiki des Fachkerns Medien und Informatik der Pädagogischen Hochschule Schwyz. Für Fragen wenden Sie sich bitte an wikiadmin@phsz.ch
    This page was cached on 08 Apr 2025 - 19:04.
    This website is using cookies. More info. That's Fine