ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Genearal. More...
Public Member Functions | |
getServerId () | |
Get server id of setting. More... | |
getMid () | |
Get mid of sender. More... | |
isDirectoryMappingEnabled () | |
Check if node mapping is enabled. More... | |
enableDirectoryMapping ($a_status) | |
Enable node mapping. More... | |
enableEmptyContainerCreation ($a_status) | |
enable creation of empty containers More... | |
isEmptyContainerCreationEnabled () | |
Check if the creation of empty containers (pathes without courses) is enabled. More... | |
enableCourseAllocation ($a_stat) | |
isCourseAllocationEnabled () | |
setDefaultCourseCategory ($a_def) | |
getDefaultCourseCategory () | |
isAllInOneCategoryEnabled () | |
enableAllInOne ($a_stat) | |
setAllInOneCategory ($a_cat) | |
getAllInOneCategory () | |
enableAttributeMapping ($a_stat) | |
isAttributeMappingEnabled () | |
setRoleMappings ($a_mappings) | |
getRoleMappings () | |
setAuthMode ($a_auth_mode) | |
Set user auth mode. More... | |
getAuthMode () | |
Get auth mode. More... | |
update () | |
Save settings to db. More... | |
Static Public Member Functions | |
static | getInstance () |
Get singeleton instance. More... | |
static | getInstanceByServerMid ($a_server_id, $a_mid) |
Get instance. More... | |
Protected Member Functions | |
__construct ($a_server_id, $a_mid) | |
Singeleton constructor. More... | |
getStorage () | |
Get storage. More... | |
initStorage () | |
Init storage. More... | |
read () | |
Read settings from db. More... | |
Private Attributes | |
$storage = null | |
$server_id = 0 | |
$mid = 0 | |
$directory_active = false | |
$create_empty_containers = false | |
$course_active = false | |
Course allocation. More... | |
$default_cat = 0 | |
$allinone = false | |
$allinone_cat = 0 | |
$attributes = false | |
$role_mappings = array() | |
$auth_mode = null | |
Static Private Attributes | |
static | $instances = array() |
Genearal.
Definition at line 7 of file class.ilECSNodeMappingSettings.php.
|
protected |
Singeleton constructor.
Definition at line 38 of file class.ilECSNodeMappingSettings.php.
References initStorage(), and read().
ilECSNodeMappingSettings::enableAllInOne | ( | $a_stat | ) |
Definition at line 155 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::enableAttributeMapping | ( | $a_stat | ) |
Definition at line 170 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::enableCourseAllocation | ( | $a_stat | ) |
Definition at line 130 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::enableDirectoryMapping | ( | $a_status | ) |
Enable node mapping.
bool | $a_status |
Definition at line 107 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::enableEmptyContainerCreation | ( | $a_status | ) |
enable creation of empty containers
bool | $a_status |
Definition at line 116 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::getAllInOneCategory | ( | ) |
Definition at line 165 of file class.ilECSNodeMappingSettings.php.
References $allinone_cat.
Referenced by update().
ilECSNodeMappingSettings::getAuthMode | ( | ) |
Get auth mode.
Definition at line 203 of file class.ilECSNodeMappingSettings.php.
References $auth_mode.
Referenced by update().
ilECSNodeMappingSettings::getDefaultCourseCategory | ( | ) |
Definition at line 145 of file class.ilECSNodeMappingSettings.php.
References $default_cat.
Referenced by update().
|
static |
Get singeleton instance.
Definition at line 51 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 ilECSCmsTreeSynchronizer\__construct(), ilECSCourseCreationHandler\__construct(), ilECSCmsCourseCommandQueueHandler\checkAllocationActivation(), ilECSCmsCourseMemberCommandQueueHandler\checkAllocationActivation(), ilECSMappingSettingsGUI\cStart(), ilECSMappingSettingsGUI\cUpdateSettings(), ilECSMappingSettingsGUI\dStart(), ilECSMappingSettingsGUI\dUpdateSettings(), ilECSNodeMappingTreeTableGUI\fillRow(), ilECSAppEventListener\handleMembership(), ilECSMappingSettingsGUI\initFormCSettings(), ilECSMappingSettingsGUI\initFormDSettings(), and ilECSMappingSettingsGUI\setSubTabs().
ilECSNodeMappingSettings::getMid | ( | ) |
Get mid of sender.
Definition at line 89 of file class.ilECSNodeMappingSettings.php.
References $mid.
Referenced by initStorage().
ilECSNodeMappingSettings::getRoleMappings | ( | ) |
Definition at line 185 of file class.ilECSNodeMappingSettings.php.
References $role_mappings.
Referenced by update().
ilECSNodeMappingSettings::getServerId | ( | ) |
Get server id of setting.
Definition at line 80 of file class.ilECSNodeMappingSettings.php.
References $server_id.
Referenced by initStorage().
|
protected |
|
protected |
Init storage.
Definition at line 237 of file class.ilECSNodeMappingSettings.php.
References $DIC, $ilSetting, getMid(), and getServerId().
Referenced by __construct().
ilECSNodeMappingSettings::isAllInOneCategoryEnabled | ( | ) |
Definition at line 150 of file class.ilECSNodeMappingSettings.php.
References $allinone.
Referenced by update().
ilECSNodeMappingSettings::isAttributeMappingEnabled | ( | ) |
Definition at line 175 of file class.ilECSNodeMappingSettings.php.
References $attributes.
Referenced by update().
ilECSNodeMappingSettings::isCourseAllocationEnabled | ( | ) |
Definition at line 135 of file class.ilECSNodeMappingSettings.php.
References $course_active.
Referenced by update().
ilECSNodeMappingSettings::isDirectoryMappingEnabled | ( | ) |
Check if node mapping is enabled.
Definition at line 98 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 125 of file class.ilECSNodeMappingSettings.php.
References $create_empty_containers.
Referenced by update().
|
protected |
Read settings from db.
Definition at line 249 of file class.ilECSNodeMappingSettings.php.
References enableAllInOne(), enableAttributeMapping(), enableCourseAllocation(), enableDirectoryMapping(), enableEmptyContainerCreation(), getStorage(), setAllInOneCategory(), setAuthMode(), setDefaultCourseCategory(), and setRoleMappings().
Referenced by __construct().
ilECSNodeMappingSettings::setAllInOneCategory | ( | $a_cat | ) |
Definition at line 160 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::setAuthMode | ( | $a_auth_mode | ) |
Set user auth mode.
type | $a_auth_mode |
Definition at line 194 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::setDefaultCourseCategory | ( | $a_def | ) |
Definition at line 140 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::setRoleMappings | ( | $a_mappings | ) |
Definition at line 180 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::update | ( | ) |
Save settings to db.
Definition at line 211 of file class.ilECSNodeMappingSettings.php.
References getAllInOneCategory(), getAuthMode(), 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 |
Definition at line 33 of file class.ilECSNodeMappingSettings.php.
Referenced by getAuthMode().
|
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().