ILIAS
Release_4_1_x_branch Revision 61804
|
Public Member Functions | |
ilSetting ($a_module="common") | |
Initialise Settings. | |
read () | |
Read settings data. | |
get ($a_keyword, $a_default_value=false) | |
get setting | |
deleteAll () | |
Delete all settings of a current module. | |
deleteLike ($a_like) | |
Delete all settings corresponding to a like string. | |
delete ($a_keyword) | |
delete one value from settingstable public | |
getAll () | |
read all values from settingstable public | |
set ($a_key, $a_val) | |
write one value to db-table settings public |
Static Public Member Functions | |
static | _lookupValue ($a_module, $a_keyword) |
Data Fields | |
$setting = array() | |
$module = "" |
ILIAS Setting Class.
Definition at line 32 of file class.ilSetting.php.
|
static |
Definition at line 192 of file class.ilSetting.php.
References $data, $ilDB, $query, and $res.
Referenced by ilObjSAHSLearningModuleAccess\_lookupCertificate().
ilSetting::delete | ( | $a_keyword | ) |
delete one value from settingstable public
string | keyword |
Definition at line 140 of file class.ilSetting.php.
References $ilDB.
ilSetting::deleteAll | ( | ) |
ilSetting::deleteLike | ( | $a_like | ) |
Delete all settings corresponding to a like string.
public
Definition at line 122 of file class.ilSetting.php.
References $ilDB, $query, and read().
ilSetting::get | ( | $a_keyword, | |
$a_default_value = false |
|||
) |
get setting
public
string | keyword |
string | default_value This value is returned, when no setting has been found for the keyword. |
Definition at line 81 of file class.ilSetting.php.
References ILIAS_VERSION.
ilSetting::getAll | ( | ) |
read all values from settingstable public
Definition at line 160 of file class.ilSetting.php.
References $setting.
ilSetting::ilSetting | ( | $a_module = "common" | ) |
Initialise Settings.
Definition at line 40 of file class.ilSetting.php.
ilSetting::read | ( | ) |
Read settings data.
Definition at line 56 of file class.ilSetting.php.
References $ilDB, $query, $res, and $row.
Referenced by deleteLike(), and ilSetting().
ilSetting::set | ( | $a_key, | |
$a_val | |||
) |
write one value to db-table settings public
string | keyword |
string | value |
Definition at line 172 of file class.ilSetting.php.
References $ilDB.
ilSetting::$module = "" |
Definition at line 35 of file class.ilSetting.php.
ilSetting::$setting = array() |
Definition at line 34 of file class.ilSetting.php.
Referenced by getAll().