Jelix 1.8.14-pre

jPref
in package

Tags
subpackage

jpref

author

Florian Lonqueu-Brochard

copyright

2012 Florian Lonqueu-Brochard

see
http://jelix.org
licence

http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public Licence, see LICENCE file

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
Tags

$_prefix

protected static mixed $_prefix = 'jpref_'
Tags

$_prefs

protected static mixed $_prefs
Tags

Methods

clearCache()

Clear the local cache.

public static clearCache() : mixed
Tags
Return values
mixed

get()

Get a system preference.

public static get(string $key) : mixed
Parameters
$key : string

The corresponding to the preference

Tags
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

Tags
Return values
mixed

__construct()

protected __construct() : mixed
Tags
Return values
mixed

_getConnection()

protected static _getConnection() : mixed
Tags
Return values
mixed

Search results