|
ILIAS
release_8 Revision v8.25-1-g13de6a5eca6
|
Storage of editor settings. More...
Collaboration diagram for ilAuthLoginPageEditorSettings: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().
Here is the call graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
|
static |
Get singelton instance.
Definition at line 54 of file class.ilAuthLoginPageEditorSettings.php.
References $instance.
Referenced by ilAuthLoginPageEditorGUI\__construct(), ilAuthLoginPageEditorGUI\activate(), ilStartUpGUI\getLoginPageEditorHTML(), and ilAuthLoginPageEditorTableGUI\parse().
Here is the caller graph for this function:| ilAuthLoginPageEditorSettings::getMode | ( | ) |
Definition at line 76 of file class.ilAuthLoginPageEditorSettings.php.
References $mode.
Referenced by update().
Here is the caller graph for this function:
|
protected |
Definition at line 65 of file class.ilAuthLoginPageEditorSettings.php.
References $storage.
Referenced by read(), and update().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| ilAuthLoginPageEditorSettings::read | ( | ) |
Read settings.
Definition at line 131 of file class.ilAuthLoginPageEditorSettings.php.
References enableIliasEditor(), getStorage(), ILIAS\Repository\lng(), and setMode().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAuthLoginPageEditorSettings::setMode | ( | int | $a_mode | ) |
Definition at line 70 of file class.ilAuthLoginPageEditorSettings.php.
Referenced by read().
Here is the caller graph for this function:| ilAuthLoginPageEditorSettings::update | ( | ) |
Update settings.
Definition at line 119 of file class.ilAuthLoginPageEditorSettings.php.
References getMode(), and getStorage().
Referenced by ilAuthLoginPageEditorGUI\activate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Definition at line 34 of file class.ilAuthLoginPageEditorSettings.php.
Referenced by getInstance().
|
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().