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
$_pref_config_file
protected
static mixed
$_pref_config_file
= 'preferences.ini.php'
Methods
addGroup()
Add a group of preference into the preference config.
public
addGroup(jPrefItemGroup $grp) : mixed
Parameters
- $grp : jPrefItemGroup
-
the preference group to add
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
Return values
mixed —getAllPreferences()
public
static getAllPreferences([mixed $get_prefs_values = true ]) : mixed
Parameters
- $get_prefs_values : mixed = true
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
Return values
mixed —importFromIni()
public
static importFromIni(mixed $iniFile) : mixed
Parameters
- $iniFile : mixed
Tags
Return values
mixed —_getPrefFile()
protected
static _getPrefFile() : mixed
Return values
mixed —_loadIniModifier()
protected
_loadIniModifier() : mixed