jPref
in package
Tags
Table of Contents
- $_connection : mixed
- $_prefix : mixed
- $_prefs : mixed
- clearCache() : mixed
- Clear the local cache.
- get() : mixed
- Get a system preference.
- set() : mixed
- Set a system preference.
- __construct() : mixed
- _getConnection() : mixed
Properties
$_connection
protected
static mixed
$_connection
$_prefix
protected
static mixed
$_prefix
= 'jpref_'
$_prefs
protected
static mixed
$_prefs
Methods
clearCache()
Clear the local cache.
public
static clearCache() : mixed
Return values
mixed —get()
Get a system preference.
public
static get(string $key) : mixed
Parameters
- $key : string
-
The corresponding to the preference
Return values
mixed —preference value
set()
Set a system preference.
public
static set(string $key, mixed $value) : mixed
Parameters
- $key : string
-
The corresponding to the preference
- $value : mixed
-
preference value
Return values
mixed —__construct()
protected
__construct() : mixed
Return values
mixed —_getConnection()
protected
static _getConnection() : mixed