ILIAS
release_4-3 Revision
|
Storage of editor settings. More...
Public Member Functions | |
__construct () | |
setMode ($a_mode) | |
getMode () | |
getIliasEditorLanguage ($a_langkey) | |
Get ilias editor language ilLanguage $lng. | |
enableIliasEditor ($a_langkey, $a_status) | |
Enable editor for language. | |
isIliasEditorEnabled ($a_langkey) | |
Check if ilias editor is enabled for a language. | |
update () | |
Update settings. | |
read () | |
Read settings. |
Static Public Member Functions | |
static | getInstance () |
Get singelton instance. |
Data Fields | |
const | MODE__UNDEFINED = 0 |
const | MODE_RTE = 1 |
const | MODE_IPE = 2 |
Protected Member Functions | |
getStorage () |
Private Attributes | |
$languages = array() | |
$storage = null | |
$mode = 0 |
Static Private Attributes | |
static | $instance = null |
Storage of editor settings.
Definition at line 10 of file class.ilAuthLoginPageEditorSettings.php.
ilAuthLoginPageEditorSettings::__construct | ( | ) |
Definition at line 25 of file class.ilAuthLoginPageEditorSettings.php.
References read().
ilAuthLoginPageEditorSettings::enableIliasEditor | ( | $a_langkey, | |
$a_status | |||
) |
Enable editor for language.
Definition at line 91 of file class.ilAuthLoginPageEditorSettings.php.
Referenced by read().
ilAuthLoginPageEditorSettings::getIliasEditorLanguage | ( | $a_langkey | ) |
Get ilias editor language ilLanguage $lng.
string | $a_langkey |
Definition at line 69 of file class.ilAuthLoginPageEditorSettings.php.
References $lng, getMode(), and isIliasEditorEnabled().
|
static |
Get singelton instance.
Definition at line 36 of file class.ilAuthLoginPageEditorSettings.php.
References $instance.
Referenced by ilAuthLoginPageEditorGUI\__construct(), ilAuthLoginPageEditorGUI\activate(), ilStartUpGUI\getLoginPageEditorHTML(), and ilAuthLoginPageEditorTableGUI\parse().
ilAuthLoginPageEditorSettings::getMode | ( | ) |
Definition at line 58 of file class.ilAuthLoginPageEditorSettings.php.
References $mode.
Referenced by getIliasEditorLanguage(), and update().
|
protected |
ilAuthLoginPageEditorSettings::isIliasEditorEnabled | ( | $a_langkey | ) |
Check if ilias editor is enabled for a language.
string | $a_langkey |
Definition at line 100 of file class.ilAuthLoginPageEditorSettings.php.
Referenced by getIliasEditorLanguage().
ilAuthLoginPageEditorSettings::read | ( | ) |
Read settings.
Definition at line 125 of file class.ilAuthLoginPageEditorSettings.php.
References $lng, enableIliasEditor(), getStorage(), and setMode().
Referenced by __construct().
ilAuthLoginPageEditorSettings::setMode | ( | $a_mode | ) |
Definition at line 53 of file class.ilAuthLoginPageEditorSettings.php.
Referenced by read().
ilAuthLoginPageEditorSettings::update | ( | ) |
Update settings.
Definition at line 112 of file class.ilAuthLoginPageEditorSettings.php.
References getMode(), and getStorage().
|
staticprivate |
Definition at line 19 of file class.ilAuthLoginPageEditorSettings.php.
Referenced by getInstance().
|
private |
Definition at line 16 of file class.ilAuthLoginPageEditorSettings.php.
|
private |
Definition at line 22 of file class.ilAuthLoginPageEditorSettings.php.
Referenced by getMode().
|
private |
Definition at line 20 of file class.ilAuthLoginPageEditorSettings.php.
Referenced by getStorage().
const ilAuthLoginPageEditorSettings::MODE__UNDEFINED = 0 |
Definition at line 12 of file class.ilAuthLoginPageEditorSettings.php.
const ilAuthLoginPageEditorSettings::MODE_IPE = 2 |
Definition at line 14 of file class.ilAuthLoginPageEditorSettings.php.
Referenced by ilAuthLoginPageEditorGUI\addEditorSwitch(), ilAuthLoginPageEditorGUI\show(), and ilAuthLoginPageEditorGUI\switchIPE().
const ilAuthLoginPageEditorSettings::MODE_RTE = 1 |
Definition at line 13 of file class.ilAuthLoginPageEditorSettings.php.
Referenced by ilAuthLoginPageEditorGUI\addEditorSwitch(), ilAuthLoginPageEditorGUI\show(), and ilAuthLoginPageEditorGUI\switchRTE().