Pauser
in package
Pauser - temporary data handler class.
Table of Contents
- TABLE_NAME = 's_#__pauser'
- Table name.
- $key : string
- $value : string
- destroy() : bool
- Remove key from database.
- getInstance() : self
- Return object instance.
- getValue() : string|null
- Get value.
- setValue() : bool
- Set value.
- load() : self
- Load data from database.
- setKey() : self
- Set key name.
Constants
TABLE_NAME
Table name.
private
mixed
TABLE_NAME
= 's_#__pauser'
Properties
$key
private
string
$key
Entry name
$value
private
string
$value
Value
Methods
destroy()
Remove key from database.
public
destroy() : bool
Return values
bool —getInstance()
Return object instance.
public
static getInstance(string $key) : self
Parameters
- $key : string
Return values
self —getValue()
Get value.
public
getValue() : string|null
Return values
string|null —setValue()
Set value.
public
setValue(string $value) : bool
Parameters
- $value : string
Return values
bool —load()
Load data from database.
private
load() : self
Return values
self —setKey()
Set key name.
private
setKey(string $key) : self
Parameters
- $key : string