jPrefManager
in package
Tags
Table of Contents
- $_ini : mixed
- $_pref_config_file : mixed
- addGroup() : mixed
- Add a group of preference into the preference config.
- addPreference() : mixed
- Add a preference into the preference config.
- getAllPreferences() : mixed
- getPref() : mixed
- importFromIni() : mixed
- _getPrefFile() : mixed
- _loadIniModifier() : mixed
Properties
$_ini
protected
static mixed
$_ini
Tags
$_pref_config_file
protected
static mixed
$_pref_config_file
= 'preferences.ini.php'
Tags
Methods
addGroup()
Add a group of preference into the preference config.
public
addGroup(jPrefItemGroup $grp) : mixed
Parameters
- $grp : jPrefItemGroup
-
the preference group to add
Tags
Return values
mixed —addPreference()
Add a preference into the preference config.
public
addPreference(mixed $pref) : mixed
Should be used only during installation, as the configuration file is in the app/system/ directory (readonly for the web server in theory).
Parameters
- $pref : mixed
Tags
Return values
mixed —getAllPreferences()
public
static getAllPreferences([mixed $get_prefs_values = true ]) : mixed
Parameters
- $get_prefs_values : mixed = true
Tags
Return values
mixed —getPref()
public
static getPref(mixed $pref_id[, mixed $get_pref_value = true ]) : mixed
Parameters
- $pref_id : mixed
- $get_pref_value : mixed = true
Tags
Return values
mixed —importFromIni()
public
static importFromIni(mixed $iniFile) : mixed
Parameters
- $iniFile : mixed
Tags
Return values
mixed —_getPrefFile()
protected
static _getPrefFile() : mixed
Tags
Return values
mixed —_loadIniModifier()
protected
_loadIniModifier() : mixed