ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Storage of editor settings. More...
Public Member Functions | |
__construct () | |
setMode (int $a_mode) | |
getMode () | |
getIliasEditorLanguage (string $a_langkey) | |
Get ilias editor language. More... | |
enableIliasEditor (string $a_langkey, bool $a_status) | |
Enable editor for language. More... | |
isIliasEditorEnabled (string $a_langkey) | |
Check if ilias editor is enabled for a language. More... | |
update () | |
Update settings. More... | |
read () | |
Read settings. More... | |
Static Public Member Functions | |
static | getInstance () |
Get singelton instance. More... | |
Data Fields | |
const | MODE__UNDEFINED = 0 |
const | MODE_RTE = 1 |
const | MODE_IPE = 2 |
Protected Member Functions | |
getStorage () | |
Private Attributes | |
array | $languages = [] |
ilSetting | $storage |
int | $mode = 0 |
ilLanguage | $lng |
Static Private Attributes | |
static ilAuthLoginPageEditorSettings | $instance = null |
Storage of editor settings.
Definition at line 26 of file class.ilAuthLoginPageEditorSettings.php.
ilAuthLoginPageEditorSettings::__construct | ( | ) |
Definition at line 41 of file class.ilAuthLoginPageEditorSettings.php.
References $DIC, ILIAS\Repository\lng(), and read().
ilAuthLoginPageEditorSettings::enableIliasEditor | ( | string | $a_langkey, |
bool | $a_status | ||
) |
Enable editor for language.
Definition at line 103 of file class.ilAuthLoginPageEditorSettings.php.
Referenced by ilAuthLoginPageEditorGUI\activate(), and read().
ilAuthLoginPageEditorSettings::getIliasEditorLanguage | ( | string | $a_langkey | ) |
Get ilias editor language.
string | $a_langkey |
Definition at line 86 of file class.ilAuthLoginPageEditorSettings.php.
References isIliasEditorEnabled(), and ILIAS\Repository\lng().
|
static |
Get singelton instance.
Definition at line 54 of file class.ilAuthLoginPageEditorSettings.php.
Referenced by ilAuthLoginPageEditorGUI\__construct(), ilAuthLoginPageEditorGUI\activate(), ilStartUpGUI\getLoginPageEditorHTML(), and ilAuthLoginPageEditorTableGUI\parse().
ilAuthLoginPageEditorSettings::getMode | ( | ) |
Definition at line 76 of file class.ilAuthLoginPageEditorSettings.php.
References $mode.
Referenced by update().
|
protected |
Definition at line 65 of file class.ilAuthLoginPageEditorSettings.php.
References $storage.
Referenced by read(), and update().
ilAuthLoginPageEditorSettings::isIliasEditorEnabled | ( | string | $a_langkey | ) |
Check if ilias editor is enabled for a language.
Definition at line 111 of file class.ilAuthLoginPageEditorSettings.php.
Referenced by getIliasEditorLanguage().
ilAuthLoginPageEditorSettings::read | ( | ) |
Read settings.
Definition at line 131 of file class.ilAuthLoginPageEditorSettings.php.
References enableIliasEditor(), getStorage(), ILIAS\Repository\lng(), and setMode().
Referenced by __construct().
ilAuthLoginPageEditorSettings::setMode | ( | int | $a_mode | ) |
Definition at line 70 of file class.ilAuthLoginPageEditorSettings.php.
Referenced by read().
ilAuthLoginPageEditorSettings::update | ( | ) |
Update settings.
Definition at line 119 of file class.ilAuthLoginPageEditorSettings.php.
References getMode(), and getStorage().
Referenced by ilAuthLoginPageEditorGUI\activate().
|
staticprivate |
Definition at line 34 of file class.ilAuthLoginPageEditorSettings.php.
|
private |
Definition at line 32 of file class.ilAuthLoginPageEditorSettings.php.
|
private |
Definition at line 39 of file class.ilAuthLoginPageEditorSettings.php.
|
private |
Definition at line 37 of file class.ilAuthLoginPageEditorSettings.php.
Referenced by getMode().
|
private |
Definition at line 35 of file class.ilAuthLoginPageEditorSettings.php.
Referenced by getStorage().
const ilAuthLoginPageEditorSettings::MODE__UNDEFINED = 0 |
Definition at line 28 of file class.ilAuthLoginPageEditorSettings.php.
const ilAuthLoginPageEditorSettings::MODE_IPE = 2 |
Definition at line 30 of file class.ilAuthLoginPageEditorSettings.php.
Referenced by ilAuthLoginPageEditorGUI\addEditorSwitch(), ilAuthLoginPageEditorGUI\show(), and ilAuthLoginPageEditorGUI\switchIPE().
const ilAuthLoginPageEditorSettings::MODE_RTE = 1 |
Definition at line 29 of file class.ilAuthLoginPageEditorSettings.php.
Referenced by ilAuthLoginPageEditorGUI\addEditorSwitch(), ilAuthLoginPageEditorGUI\show(), and ilAuthLoginPageEditorGUI\switchRTE().