| ILIAS
    release_7 Revision v7.30-3-g800a261c036
    | 
 Inheritance diagram for ilSetting:
 Inheritance diagram for ilSetting: Collaboration diagram for ilSetting:
 Collaboration diagram for ilSetting:| Public Member Functions | |
| __construct ($a_module="common", $a_disabled_cache=false) | |
| Initialize settings.  More... | |
| getModule () | |
| Get currernt module.  More... | |
| read () | |
| Read settings data.  More... | |
| get ($a_keyword, $a_default_value=false) | |
| get setting  More... | |
| deleteAll () | |
| Delete all settings of a current module.  More... | |
| deleteLike ($a_like) | |
| Delete all settings corresponding to a like string.  More... | |
| delete ($a_keyword) | |
| delete one value from settingstable @access public  More... | |
| getAll () | |
| read all values from settingstable @access public  More... | |
| set ($a_key, $a_val) | |
| write one value to db-table settings @access public  More... | |
| setScormDebug ($a_key, $a_val) | |
| Static Public Member Functions | |
| static | _lookupValue ($a_module, $a_keyword) | 
| static | _getValueType () | 
| Get the type of the value column in the database.  More... | |
| static | _changeValueType ($a_new_type='text') | 
| change the type of the value column in the database  More... | |
| static | _getLongerSettings ($a_limit='4000') | 
| get a list of setting records with values loger than a limit  More... | |
| Data Fields | |
| $setting = array() | |
| $module = "" | |
| Protected Attributes | |
| $db | |
| Static Private Attributes | |
| static | $settings_cache = array() | 
| cache for the read settings ilSetting is instantiated more than once per request for some modules The cache avoids reading them from the DB with each instance  More... | |
| static | $value_type = null | 
| the type of settings value field in database This is determined in the set method to get a correct DB insert Don't set the value type to force a detection at first access  More... | |
| ilSetting::__construct | ( | $a_module = "common", | |
| $a_disabled_cache = false | |||
| ) | 
Initialize settings.
Definition at line 60 of file class.ilSetting.php.
References $DIC, $ilDB, and read().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
change the type of the value column in the database
| string | 'text' or 'clob' | 
Definition at line 287 of file class.ilSetting.php.
References $DIC, $ilDB, and _getValueType().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
get a list of setting records with values loger than a limit
| int | character limit (default: 4000) | 
Definition at line 338 of file class.ilSetting.php.
| 
 | static | 
Get the type of the value column in the database.
| ilDatabaseException | 
Definition at line 268 of file class.ilSetting.php.
Referenced by _changeValueType(), and set().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 250 of file class.ilSetting.php.
References $data, $DIC, $ilDB, $query, and $res.
Referenced by ilCronManager\runActiveJobs().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSetting::delete | ( | $a_keyword | ) | 
delete one value from settingstable @access public
| string | keyword | 
Definition at line 181 of file class.ilSetting.php.
| ilSetting::deleteAll | ( | ) | 
Delete all settings of a current module.
@access public
Definition at line 142 of file class.ilSetting.php.
| ilSetting::deleteLike | ( | $a_like | ) | 
Delete all settings corresponding to a like string.
@access public
Definition at line 160 of file class.ilSetting.php.
| ilSetting::get | ( | $a_keyword, | |
| $a_default_value = false | |||
| ) | 
get setting
@access public
| string | keyword | 
| string | default_value This value is returned, when no setting has been found for the keyword. | 
Definition at line 123 of file class.ilSetting.php.
References ILIAS_VERSION.
Referenced by ilObjStudyProgrammeTreeGUI\delete(), ilObjStudyProgrammeAdminGUI\initFormSettings(), ilOnScreenChatGUI\isOnScreenChatAccessible(), and ilCertificateAppEventListener\processEntry().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSetting::getAll | ( | ) | 
read all values from settingstable @access public
Definition at line 201 of file class.ilSetting.php.
References $setting.
| ilSetting::getModule | ( | ) | 
| ilSetting::read | ( | ) | 
Read settings data.
Definition at line 87 of file class.ilSetting.php.
References $db, $ilDB, $module, $query, $res, and $setting.
Referenced by __construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSetting::set | ( | $a_key, | |
| $a_val | |||
| ) | 
write one value to db-table settings @access public
| string | keyword | 
| string | value | 
Definition at line 213 of file class.ilSetting.php.
References $db, $DIC, $ilDB, $lng, _getValueType(), and ilUtil\sendFailure().
Referenced by ilObjStudyProgrammeAdminGUI\saveSettings(), and setScormDebug().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSetting::setScormDebug | ( | $a_key, | |
| $a_val | |||
| ) | 
Definition at line 240 of file class.ilSetting.php.
References $db, $ilDB, and set().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Definition at line 37 of file class.ilSetting.php.
Referenced by delete(), deleteAll(), deleteLike(), read(), set(), and setScormDebug().
| ilSetting::$module = "" | 
Definition at line 55 of file class.ilSetting.php.
Referenced by getModule(), and read().
| ilSetting::$setting = array() | 
Definition at line 54 of file class.ilSetting.php.
| 
 | staticprivate | 
cache for the read settings ilSetting is instantiated more than once per request for some modules The cache avoids reading them from the DB with each instance
Definition at line 44 of file class.ilSetting.php.
| 
 | staticprivate | 
the type of settings value field in database This is determined in the set method to get a correct DB insert Don't set the value type to force a detection at first access
Definition at line 51 of file class.ilSetting.php.