VuFind API Documentation

Demo extends AbstractBase
in package

Demo CAPTCHA (expect hard-coded value; used for test suite only).

Tags
category

VuFind

author

Mario Trojan mario.trojan@uni-tuebingen.de

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Wiki

Table of Contents

getErrorMessage()  : string
Get any error message after a failed captcha verification. The message can be displayed to the user.
getId()  : string
Get ID for current CAPTCHA (to use e.g. in HTML forms)
getJsIncludes()  : array<string|int, mixed>
Get list of URLs with JS dependencies to load for the active CAPTCHA type.
verify()  : bool
Pull the captcha field from controller params and check them for accuracy

Methods

getErrorMessage()

Get any error message after a failed captcha verification. The message can be displayed to the user.

public getErrorMessage() : string
Return values
string

getId()

Get ID for current CAPTCHA (to use e.g. in HTML forms)

public getId() : string
Return values
string

getJsIncludes()

Get list of URLs with JS dependencies to load for the active CAPTCHA type.

public getJsIncludes() : array<string|int, mixed>
Return values
array<string|int, mixed>

verify()

Pull the captcha field from controller params and check them for accuracy

public verify(Params $params) : bool
Parameters
$params : Params

Controller params

Return values
bool

Search results