ILIAS
Release_5_0_x_branch Revision 61816
|
Genearal. More...
Public Member Functions | |
getServerId () | |
Get server id of setting. | |
getMid () | |
Get mid of sender. | |
isDirectoryMappingEnabled () | |
Check if node mapping is enabled. | |
enableDirectoryMapping ($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. | |
enableCourseAllocation ($a_stat) | |
isCourseAllocationEnabled () | |
setDefaultCourseCategory ($a_def) | |
getDefaultCourseCategory () | |
isAllInOneCategoryEnabled () | |
enableAllInOne ($a_stat) | |
setAllInOneCategory ($a_cat) | |
getAllInOneCategory () | |
enableAttributeMapping ($a_stat) | |
isAttributeMappingEnabled () | |
setRoleMappings ($a_mappings) | |
getRoleMappings () | |
update () | |
Save settings to db. |
Static Public Member Functions | |
static | getInstance () |
Get singeleton instance. | |
static | getInstanceByServerMid ($a_server_id, $a_mid) |
Get instance. |
Protected Member Functions | |
__construct ($a_server_id, $a_mid) | |
Singeleton constructor. | |
getStorage () | |
Get storage. | |
initStorage () | |
Init storage. | |
read () | |
Read settings from db. |
Private Attributes | |
$storage = null | |
$server_id = 0 | |
$mid = 0 | |
$directory_active = false | |
$create_empty_containers = false | |
$course_active = false | |
Course allocation. | |
$default_cat = 0 | |
$allinone = false | |
$allinone_cat = 0 | |
$attributes = false | |
$role_mappings = array() |
Static Private Attributes | |
static | $instances = array() |
Genearal.
Definition at line 7 of file class.ilECSNodeMappingSettings.php.
|
protected |
Singeleton constructor.
Definition at line 37 of file class.ilECSNodeMappingSettings.php.
References initStorage(), and read().
ilECSNodeMappingSettings::enableAllInOne | ( | $a_stat | ) |
Definition at line 156 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::enableAttributeMapping | ( | $a_stat | ) |
Definition at line 171 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::enableCourseAllocation | ( | $a_stat | ) |
Definition at line 131 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::enableDirectoryMapping | ( | $a_status | ) |
Enable node mapping.
bool | $a_status |
Definition at line 108 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::enableEmptyContainerCreation | ( | $a_status | ) |
enable creation of empty containers
bool | $a_status |
Definition at line 117 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::getAllInOneCategory | ( | ) |
Definition at line 166 of file class.ilECSNodeMappingSettings.php.
References $allinone_cat.
Referenced by update().
ilECSNodeMappingSettings::getDefaultCourseCategory | ( | ) |
Definition at line 146 of file class.ilECSNodeMappingSettings.php.
References $default_cat.
Referenced by update().
|
static |
Get singeleton instance.
Definition at line 50 of file class.ilECSNodeMappingSettings.php.
References $GLOBALS.
|
static |
Get instance.
type | $a_server_id | |
type | $a_mid |
Definition at line 68 of file class.ilECSNodeMappingSettings.php.
Referenced by ilECSCourseCreationHandler\__construct(), ilECSCmsTreeSynchronizer\__construct(), ilECSCmsCourseCommandQueueHandler\checkAllocationActivation(), ilECSCmsCourseMemberCommandQueueHandler\checkAllocationActivation(), ilECSMappingSettingsGUI\cStart(), ilECSMappingSettingsGUI\cUpdateSettings(), ilECSMappingSettingsGUI\dStart(), ilECSMappingSettingsGUI\dUpdateSettings(), ilECSNodeMappingTreeTableGUI\fillRow(), ilECSMappingSettingsGUI\initFormCSettings(), ilECSMappingSettingsGUI\initFormDSettings(), and ilECSMappingSettingsGUI\setSubTabs().
ilECSNodeMappingSettings::getMid | ( | ) |
Get mid of sender.
Definition at line 90 of file class.ilECSNodeMappingSettings.php.
References $mid.
Referenced by initStorage().
ilECSNodeMappingSettings::getRoleMappings | ( | ) |
Definition at line 186 of file class.ilECSNodeMappingSettings.php.
References $role_mappings.
Referenced by update().
ilECSNodeMappingSettings::getServerId | ( | ) |
Get server id of setting.
Definition at line 81 of file class.ilECSNodeMappingSettings.php.
References $server_id.
Referenced by initStorage().
|
protected |
|
protected |
Init storage.
Definition at line 219 of file class.ilECSNodeMappingSettings.php.
References $ilSetting, getMid(), and getServerId().
Referenced by __construct().
ilECSNodeMappingSettings::isAllInOneCategoryEnabled | ( | ) |
Definition at line 151 of file class.ilECSNodeMappingSettings.php.
References $allinone.
Referenced by update().
ilECSNodeMappingSettings::isAttributeMappingEnabled | ( | ) |
Definition at line 176 of file class.ilECSNodeMappingSettings.php.
References $attributes.
Referenced by update().
ilECSNodeMappingSettings::isCourseAllocationEnabled | ( | ) |
Definition at line 136 of file class.ilECSNodeMappingSettings.php.
References $course_active.
Referenced by update().
ilECSNodeMappingSettings::isDirectoryMappingEnabled | ( | ) |
Check if node mapping is enabled.
Definition at line 99 of file class.ilECSNodeMappingSettings.php.
References $directory_active.
Referenced by update().
ilECSNodeMappingSettings::isEmptyContainerCreationEnabled | ( | ) |
Check if the creation of empty containers (pathes without courses) is enabled.
Definition at line 126 of file class.ilECSNodeMappingSettings.php.
References $create_empty_containers.
Referenced by update().
|
protected |
Read settings from db.
Definition at line 229 of file class.ilECSNodeMappingSettings.php.
References enableAllInOne(), enableAttributeMapping(), enableCourseAllocation(), enableDirectoryMapping(), enableEmptyContainerCreation(), getStorage(), setAllInOneCategory(), setDefaultCourseCategory(), and setRoleMappings().
Referenced by __construct().
ilECSNodeMappingSettings::setAllInOneCategory | ( | $a_cat | ) |
Definition at line 161 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::setDefaultCourseCategory | ( | $a_def | ) |
Definition at line 141 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::setRoleMappings | ( | $a_mappings | ) |
Definition at line 181 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::update | ( | ) |
Save settings to db.
Definition at line 194 of file class.ilECSNodeMappingSettings.php.
References getAllInOneCategory(), getDefaultCourseCategory(), getRoleMappings(), getStorage(), isAllInOneCategoryEnabled(), isAttributeMappingEnabled(), isCourseAllocationEnabled(), isDirectoryMappingEnabled(), and isEmptyContainerCreationEnabled().
|
private |
Definition at line 29 of file class.ilECSNodeMappingSettings.php.
Referenced by isAllInOneCategoryEnabled().
|
private |
Definition at line 30 of file class.ilECSNodeMappingSettings.php.
Referenced by getAllInOneCategory().
|
private |
Definition at line 31 of file class.ilECSNodeMappingSettings.php.
Referenced by isAttributeMappingEnabled().
|
private |
Course allocation.
Definition at line 27 of file class.ilECSNodeMappingSettings.php.
Referenced by isCourseAllocationEnabled().
|
private |
Definition at line 22 of file class.ilECSNodeMappingSettings.php.
Referenced by isEmptyContainerCreationEnabled().
|
private |
Definition at line 28 of file class.ilECSNodeMappingSettings.php.
Referenced by getDefaultCourseCategory().
|
private |
Definition at line 21 of file class.ilECSNodeMappingSettings.php.
Referenced by isDirectoryMappingEnabled().
|
staticprivate |
Definition at line 9 of file class.ilECSNodeMappingSettings.php.
|
private |
Definition at line 19 of file class.ilECSNodeMappingSettings.php.
Referenced by getMid().
|
private |
Definition at line 32 of file class.ilECSNodeMappingSettings.php.
Referenced by getRoleMappings().
|
private |
Definition at line 14 of file class.ilECSNodeMappingSettings.php.
Referenced by getServerId().
|
private |
Definition at line 11 of file class.ilECSNodeMappingSettings.php.
Referenced by getStorage().