ILIAS
Release_4_2_x_branch Revision 61807
|
Genearal. More...
Public Member Functions | |
isEnabled () | |
Check if node mapping is enabled. | |
enable ($a_status) | |
Enable node mapping. | |
enableEmptyContainerCreation ($a_status) | |
enable creation of empty containers | |
isEmptyContainerCreationEnabled () | |
Check if the creation of empty containers (pathes without courses) is enabled. | |
update () | |
Save settings to db. |
Static Public Member Functions | |
static | getInstance () |
Get singeleton instance. |
Protected Member Functions | |
__construct () | |
Singeleton constructor. | |
getStorage () | |
Get storage. | |
initStorage () | |
Init storage. | |
read () | |
Read settings from db. |
Private Attributes | |
$storage = null | |
$active = false | |
$create_empty_containers = false |
Static Private Attributes | |
static | $instance = null |
Genearal.
Definition at line 7 of file class.ilECSNodeMappingSettings.php.
|
protected |
Singeleton constructor.
Definition at line 19 of file class.ilECSNodeMappingSettings.php.
References initStorage(), and read().
ilECSNodeMappingSettings::enable | ( | $a_status | ) |
Enable node mapping.
bool | $a_status |
Definition at line 51 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::enableEmptyContainerCreation | ( | $a_status | ) |
enable creation of empty containers
bool | $a_status |
Definition at line 60 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
|
static |
Get singeleton instance.
Definition at line 29 of file class.ilECSNodeMappingSettings.php.
References $instance.
Referenced by ilECSMappingSettingsGUI\cStart(), ilECSMappingSettingsGUI\dStart(), ilECSMappingSettingsGUI\dUpdateSettings(), and ilECSMappingSettingsGUI\initFormDSettings().
|
protected |
|
protected |
Init storage.
Definition at line 96 of file class.ilECSNodeMappingSettings.php.
References $ilSetting.
Referenced by __construct().
ilECSNodeMappingSettings::isEmptyContainerCreationEnabled | ( | ) |
Check if the creation of empty containers (pathes without courses) is enabled.
Definition at line 69 of file class.ilECSNodeMappingSettings.php.
References $create_empty_containers.
Referenced by update().
ilECSNodeMappingSettings::isEnabled | ( | ) |
Check if node mapping is enabled.
Definition at line 42 of file class.ilECSNodeMappingSettings.php.
References $active.
Referenced by update().
|
protected |
Read settings from db.
Definition at line 106 of file class.ilECSNodeMappingSettings.php.
References enable(), enableEmptyContainerCreation(), and getStorage().
Referenced by __construct().
ilECSNodeMappingSettings::update | ( | ) |
Save settings to db.
Definition at line 77 of file class.ilECSNodeMappingSettings.php.
References getStorage(), isEmptyContainerCreationEnabled(), and isEnabled().
|
private |
Definition at line 13 of file class.ilECSNodeMappingSettings.php.
Referenced by isEnabled().
|
private |
Definition at line 14 of file class.ilECSNodeMappingSettings.php.
Referenced by isEmptyContainerCreationEnabled().
|
staticprivate |
Definition at line 9 of file class.ilECSNodeMappingSettings.php.
Referenced by getInstance().
|
private |
Definition at line 11 of file class.ilECSNodeMappingSettings.php.
Referenced by getStorage().