ipBlocker
in package
Option handler class
Table of Contents
Methods
- __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
__construct()
class instantiation function
public
__construct() : security_logger
Return values
security_loggeradminGate()
Monitors blocked accesses to Admin pages
public
static adminGate(bool $allow, string $page) : mixed
Parameters
- $allow : bool
-
ignored
- $page : string
-
ignored
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
handleOptionSave()
public
handleOptionSave(mixed $themename, mixed $themealbum) : mixed
Parameters
- $themename : mixed
- $themealbum : 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
stringlogin()
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
suspended()
public
static suspended() : mixed