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

    core class for this plugin

    an singleton instance is allocated on demand

    ClassMethod new() → $core

    constructor for a Core object

    ObjectMethod finish()

    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

    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 26 Aug 2025 - 03:04.
    This website is using cookies. More info. That's Fine