\FAA\Plugin\CaptchaHandler

Summary

Methods
Properties
Constants
SetupTemplate()
RegisterHooks()
RequestOnUrlParsed()
ServeRequest()
OnCleanupGarbage()
GetCaptcha()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$is_system
N/A

Properties

$is_system

$is_system :boolean

Is system call Hold information if this is the system handler

Type

boolean—Is system

Methods

SetupTemplate()

SetupTemplate(array  $data = null): \FAA\Obj\Result

Setup getter and setter

The setter is just an interface and not active

Parameters

array $data

New configuration values

Returns

\FAA\Obj\Result —

The template fetch result

RegisterHooks()

RegisterHooks(): array

register system hooks Register a set of handler functions to be called in certain positions.

Returns

array —

A list of hooks to register

RequestOnUrlParsed()

RequestOnUrlParsed(  $param): void

Must parse the url in an hook

Parameters

$param

ServeRequest()

ServeRequest(\FAA\Obj\Request  $request): \FAA\Obj\Response

Serve request Serve the request and return appropriate result.

Serve the request and return appropriate result.

Parameters

\FAA\Obj\Request $request

The http request object

Returns

\FAA\Obj\Response —

A response object

OnCleanupGarbage()

OnCleanupGarbage(\FAA\Obj\Sys\HookArgument  $params)

Parameters

\FAA\Obj\Sys\HookArgument $params

GetCaptcha()

GetCaptcha()