|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilSetting:
Collaboration diagram for ilSetting:Public Member Functions | |
| __construct (string $a_module="common", bool $a_disabled_cache=false) | |
| getModule () | |
| read () | |
| get (string $a_keyword, ?string $a_default_value=null) | |
| get setting More... | |
| deleteAll () | |
| deleteLike (string $a_like) | |
| delete (string $a_keyword) | |
| getAll () | |
| set (string $a_key, string $a_val) | |
| setScormDebug (string $a_key, string $a_val) | |
Static Public Member Functions | |
| static | _lookupValue (string $a_module, string $a_keyword) |
| static | _getValueType () |
| Get the type of the value column in the database. More... | |
| static | _changeValueType (string $a_new_type='text') |
| change the type of the value column in the database More... | |
| static | _getLongerSettings (int $a_limit=4000) |
| get a list of setting records with values loger than a limit More... | |
Data Fields | |
| array | $setting = array() |
| string | $module = "" |
Protected Attributes | |
| ilDBInterface | $db |
| bool | $cache_disabled = false |
Static Private Attributes | |
| static array | $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 string | $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... | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning ILIAS Setting Class
Definition at line 26 of file class.ilSetting.php.
| ilSetting::__construct | ( | string | $a_module = "common", |
| bool | $a_disabled_cache = false |
||
| ) |
Definition at line 47 of file class.ilSetting.php.
References $DIC, $ilDB, and read().
Here is the call graph for this function:
|
static |
change the type of the value column in the database
| string | $a_new_type | 'text' or 'clob' |
| ilDatabaseException |
Definition at line 218 of file class.ilSetting.php.
|
static |
get a list of setting records with values loger than a limit
Definition at line 268 of file class.ilSetting.php.
|
static |
Get the type of the value column in the database.
| ilDatabaseException |
Definition at line 200 of file class.ilSetting.php.
|
static |
Implements ILIAS\Administration\Setting.
Definition at line 182 of file class.ilSetting.php.
References $data, $DIC, $ilDB, and $res.
Referenced by ilObjectAdditionalPropertiesLegacyRepository\areCustomIconsEnabled(), and ilCronManagerImpl\runActiveJobs().
Here is the caller graph for this function:| ilSetting::delete | ( | string | $a_keyword | ) |
Implements ILIAS\Administration\Setting.
Definition at line 129 of file class.ilSetting.php.
Referenced by ilCertificateScormTemplateDeleteAction\delete(), and ilObjNotificationAdminGUI\saveOSDSettings().
Here is the caller graph for this function:| ilSetting::deleteAll | ( | ) |
| ilSetting::deleteLike | ( | string | $a_like | ) |
| ilSetting::get | ( | string | $a_keyword, |
| ?string | $a_default_value = null |
||
| ) |
get setting
Implements ILIAS\Administration\Setting.
Definition at line 99 of file class.ilSetting.php.
Referenced by ilObjAdvancedEditing\_getUsedHTMLTags(), ilNusoapUserAdministrationAdapter\enableWSDL(), ilCleanCOPageHistoryCronjob\getCronDays(), ILIAS\Style\Content\Object\ObjectManager\getEffectiveStyleId(), ilCleanCOPageHistoryCronjob\getKeepEntries(), ILIAS\Awareness\WidgetManager\getListData(), ilLMTOCExplorerGUI\getNodeIcon(), ILIAS\Style\Content\Object\ObjectManager\getSelectableStyles(), ilObjLearningHistorySettingsGUI\initForm(), ilObjCommentsSettingsGUI\initForm(), ilObjNotesSettingsGUI\initForm(), ilObjPortfolio\isCommentsExportPossible(), ilObjWiki\isCommentsExportPossible(), ilOnScreenChatGUI\isOnScreenChatAccessible(), and ilObjNotificationAdminGUI\showOSDSettings().
Here is the caller graph for this function:| ilSetting::getAll | ( | ) |
Implements ILIAS\Administration\Setting.
Definition at line 140 of file class.ilSetting.php.
References $setting.
Referenced by ilObjAuthSettingsGUI\apacheAuthSettingsObject().
Here is the caller graph for this function:| ilSetting::getModule | ( | ) |
Implements ILIAS\Administration\Setting.
Definition at line 65 of file class.ilSetting.php.
References $module.
| ilSetting::read | ( | ) |
Implements ILIAS\Administration\Setting.
Definition at line 70 of file class.ilSetting.php.
References $db, $ilDB, $module, $res, and $setting.
Referenced by __construct().
Here is the caller graph for this function:| ilSetting::set | ( | string | $a_key, |
| string | $a_val | ||
| ) |
Implements ILIAS\Administration\Setting.
Definition at line 145 of file class.ilSetting.php.
References $db, $DIC, and $ilDB.
Referenced by ilMailCronNotification\activationWasToggled(), ilForumCronNotification\activationWasToggled(), ilMembershipCronNotifications\activationWasToggled(), ilObjAuthSettingsGUI\saveApacheSettingsObject(), ilObjNotificationAdminGUI\saveOSDSettings(), ilObjLearningHistorySettingsGUI\saveSettings(), ilObjNotesSettingsGUI\saveSettings(), ilObjCommentsSettingsGUI\saveSettings(), ilCleanCOPageHistoryCronjob\setCronDays(), ilCleanCOPageHistoryCronjob\setKeepEntries(), ilObjAdvancedEditing\setRichTextEditor(), and ilObjAdvancedEditing\setUsedHTMLTags().
Here is the caller graph for this function:| ilSetting::setScormDebug | ( | string | $a_key, |
| string | $a_val | ||
| ) |
Definition at line 173 of file class.ilSetting.php.
|
protected |
Definition at line 45 of file class.ilSetting.php.
|
protected |
Definition at line 28 of file class.ilSetting.php.
Referenced by delete(), deleteAll(), deleteLike(), read(), set(), and setScormDebug().
| string ilSetting::$module = "" |
Definition at line 44 of file class.ilSetting.php.
Referenced by getModule(), and read().
| array ilSetting::$setting = array() |
Definition at line 43 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 35 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 42 of file class.ilSetting.php.