ZenphotoCMS 1.6.x

ipBlocker
in package

Option handler class

Table of Contents

__construct()  : security_logger
class instantiation function
adminGate()  : mixed
Monitors blocked accesses to Admin pages
getOptionsSupported()  : array<string|int, mixed>
Reports the supported options
handleOption()  : mixed
handleOptionSave()  : mixed
load()  : string
Monitors front end access and excludes access as defined by the options
login()  : mixed
Monitors Login attempts
suspended()  : mixed

Methods

adminGate()

Monitors blocked accesses to Admin pages

public static adminGate(bool $allow, string $page) : mixed
Parameters
$allow : bool

ignored

$page : string

ignored

Return values
mixed

getOptionsSupported()

Reports the supported options

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

handleOption()

public handleOption(mixed $option, mixed $currentValue) : mixed
Parameters
$option : mixed
$currentValue : mixed
Return values
mixed

handleOptionSave()

public handleOptionSave(mixed $themename, mixed $themealbum) : mixed
Parameters
$themename : mixed
$themealbum : mixed
Return values
mixed

load()

Monitors front end access and excludes access as defined by the options

public static load(string $path) : string
Parameters
$path : string
Return values
string

login()

Monitors Login attempts

public static login(bit $loggedin, string $user[, string $pass = NULL ]) : mixed
Parameters
$loggedin : bit

will be "false" if the login failed

$user : string

ignored

$pass : string = NULL

ignored

Return values
mixed

suspended()

public static suspended() : mixed
Return values
mixed

Search results