PHP Class jPrefManager

Afficher le fichier Open project: jelix/jelix Class Usage Examples

Protected Properties

Свойство Type Description
$_ini
$_pref_config_file

Méthodes publiques

Méthode Description
addGroup ( jPrefItemGroup $grp ) Add a group of preference into the preference config.
addPreference ( $pref ) Add a preference into the preference config.
getAllPreferences ( $get_prefs_values = true )
getPref ( $pref_id, $get_pref_value = true )
importFromIni ( $iniFile )

Méthodes protégées

Méthode Description
_getPrefFile ( )
_loadIniModifier ( )

Method Details

_getPrefFile() protected static méthode

protected static _getPrefFile ( )

_loadIniModifier() protected méthode

protected _loadIniModifier ( )

addGroup() public méthode

Add a group of preference into the preference config.
public addGroup ( jPrefItemGroup $grp )
$grp jPrefItemGroup the preference group to add

addPreference() public méthode

Add a preference into the preference config.
public addPreference ( $pref )

getAllPreferences() public static méthode

public static getAllPreferences ( $get_prefs_values = true )

getPref() public static méthode

public static getPref ( $pref_id, $get_pref_value = true )

importFromIni() public static méthode

Since: 1.6.5
public static importFromIni ( $iniFile )

Property Details

$_ini protected_oe static_oe property

protected static $_ini

$_pref_config_file protected_oe static_oe property

protected static $_pref_config_file