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() : bool
- 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
Tags
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
Tags
getOptionsSupported()
Reports the supported options
public
getOptionsSupported() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>handleOption()
public
handleOption(mixed $option, mixed $currentValue) : mixed
Parameters
- $option : mixed
- $currentValue : mixed
Tags
handleOptionSave()
public
handleOptionSave(type $themename, type $themealbum) : bool
Parameters
- $themename : type
- $themealbum : type
Tags
Return values
boolload()
Monitors front end access and excludes access as defined by the options
public
static load(string $path) : string
Parameters
- $path : string
Tags
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
Tags
suspended()
public
static suspended() : mixed