ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
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 (bool $a_status) | |
Enable node mapping. More... | |
enableEmptyContainerCreation (bool $a_status) | |
enable creation of empty containers More... | |
isEmptyContainerCreationEnabled () | |
Check if the creation of empty containers (pathes without courses) is enabled. More... | |
enableCourseAllocation (bool $a_stat) | |
isCourseAllocationEnabled () | |
setDefaultCourseCategory (int $a_default_category) | |
getDefaultCourseCategory () | |
isAllInOneCategoryEnabled () | |
enableAllInOne (bool $a_stat) | |
setAllInOneCategory (int $a_cat) | |
getAllInOneCategory () | |
enableAttributeMapping (bool $a_stat) | |
isAttributeMappingEnabled () | |
setRoleMappings (array $a_mappings) | |
getRoleMappings () | |
setAuthMode (string $a_auth_mode) | |
Set user auth mode. More... | |
getAuthMode () | |
Get auth mode. More... | |
update () | |
Save settings to db. More... | |
Static Public Member Functions | |
static | getInstanceByServerMid (int $a_server_id, int $a_mid) |
Get instance. More... | |
Protected Member Functions | |
__construct (int $a_server_id, int $a_mid) | |
Singeleton constructor. More... | |
getStorage () | |
Get storage. More... | |
initStorage () | |
Init storage. More... | |
read () | |
Private Attributes | |
ilSetting | $storage |
int | $server_id |
int | $mid |
MID of sender. More... | |
bool | $directory_active = false |
bool | $create_empty_containers = false |
bool | $course_active = false |
Course allocation. More... | |
int | $default_cat = 0 |
bool | $allinone = false |
int | $allinone_cat = 0 |
bool | $attributes = false |
array | $role_mappings = array() |
string | $auth_mode = null |
Static Private Attributes | |
static array | $instances = [] |
Genearal.
Definition at line 24 of file class.ilECSNodeMappingSettings.php.
|
protected |
Singeleton constructor.
Definition at line 54 of file class.ilECSNodeMappingSettings.php.
References $DIC, initStorage(), and read().
ilECSNodeMappingSettings::enableAllInOne | ( | bool | $a_stat | ) |
Definition at line 147 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::enableAttributeMapping | ( | bool | $a_stat | ) |
Definition at line 162 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::enableCourseAllocation | ( | bool | $a_stat | ) |
Definition at line 122 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::enableDirectoryMapping | ( | bool | $a_status | ) |
Enable node mapping.
Definition at line 101 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::enableEmptyContainerCreation | ( | bool | $a_status | ) |
enable creation of empty containers
Definition at line 109 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::getAllInOneCategory | ( | ) |
Definition at line 157 of file class.ilECSNodeMappingSettings.php.
References $allinone_cat.
Referenced by update().
ilECSNodeMappingSettings::getAuthMode | ( | ) |
Get auth mode.
Definition at line 193 of file class.ilECSNodeMappingSettings.php.
References $auth_mode.
Referenced by update().
ilECSNodeMappingSettings::getDefaultCourseCategory | ( | ) |
Definition at line 137 of file class.ilECSNodeMappingSettings.php.
References $default_cat.
Referenced by update().
|
static |
Get instance.
Definition at line 68 of file class.ilECSNodeMappingSettings.php.
References $id.
Referenced by ilECSCourseCreationHandler\__construct(), ilECSCmsTreeSynchronizer\__construct(), ilECSCmsCourseMemberCommandQueueHandler\checkAllocationActivation(), ilECSCmsCourseCommandQueueHandler\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 85 of file class.ilECSNodeMappingSettings.php.
References $mid.
Referenced by initStorage().
ilECSNodeMappingSettings::getRoleMappings | ( | ) |
Definition at line 177 of file class.ilECSNodeMappingSettings.php.
References $role_mappings.
Referenced by update().
ilECSNodeMappingSettings::getServerId | ( | ) |
Get server id of setting.
Definition at line 77 of file class.ilECSNodeMappingSettings.php.
References $server_id.
Referenced by initStorage().
|
protected |
Get storage.
Definition at line 218 of file class.ilECSNodeMappingSettings.php.
References $storage.
Referenced by read(), and update().
|
protected |
Init storage.
Definition at line 226 of file class.ilECSNodeMappingSettings.php.
References getMid(), and getServerId().
Referenced by __construct().
ilECSNodeMappingSettings::isAllInOneCategoryEnabled | ( | ) |
Definition at line 142 of file class.ilECSNodeMappingSettings.php.
References $allinone.
Referenced by update().
ilECSNodeMappingSettings::isAttributeMappingEnabled | ( | ) |
Definition at line 167 of file class.ilECSNodeMappingSettings.php.
References $attributes.
Referenced by update().
ilECSNodeMappingSettings::isCourseAllocationEnabled | ( | ) |
Definition at line 127 of file class.ilECSNodeMappingSettings.php.
References $course_active.
Referenced by update().
ilECSNodeMappingSettings::isDirectoryMappingEnabled | ( | ) |
Check if node mapping is enabled.
Definition at line 93 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 117 of file class.ilECSNodeMappingSettings.php.
References $create_empty_containers.
Referenced by update().
|
protected |
Definition at line 236 of file class.ilECSNodeMappingSettings.php.
References enableAllInOne(), enableAttributeMapping(), enableCourseAllocation(), enableDirectoryMapping(), enableEmptyContainerCreation(), getStorage(), setAllInOneCategory(), setAuthMode(), setDefaultCourseCategory(), and setRoleMappings().
Referenced by __construct().
ilECSNodeMappingSettings::setAllInOneCategory | ( | int | $a_cat | ) |
Definition at line 152 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::setAuthMode | ( | string | $a_auth_mode | ) |
Set user auth mode.
Definition at line 185 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::setDefaultCourseCategory | ( | int | $a_default_category | ) |
Definition at line 132 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::setRoleMappings | ( | array | $a_mappings | ) |
Definition at line 172 of file class.ilECSNodeMappingSettings.php.
Referenced by read().
ilECSNodeMappingSettings::update | ( | ) |
Save settings to db.
Definition at line 201 of file class.ilECSNodeMappingSettings.php.
References getAllInOneCategory(), getAuthMode(), getDefaultCourseCategory(), getRoleMappings(), getStorage(), isAllInOneCategoryEnabled(), isAttributeMappingEnabled(), isCourseAllocationEnabled(), isDirectoryMappingEnabled(), and isEmptyContainerCreationEnabled().
|
private |
Definition at line 45 of file class.ilECSNodeMappingSettings.php.
Referenced by isAllInOneCategoryEnabled().
|
private |
Definition at line 46 of file class.ilECSNodeMappingSettings.php.
Referenced by getAllInOneCategory().
|
private |
Definition at line 47 of file class.ilECSNodeMappingSettings.php.
Referenced by isAttributeMappingEnabled().
|
private |
Definition at line 49 of file class.ilECSNodeMappingSettings.php.
Referenced by getAuthMode().
|
private |
Course allocation.
Definition at line 43 of file class.ilECSNodeMappingSettings.php.
Referenced by isCourseAllocationEnabled().
|
private |
Definition at line 38 of file class.ilECSNodeMappingSettings.php.
Referenced by isEmptyContainerCreationEnabled().
|
private |
Definition at line 44 of file class.ilECSNodeMappingSettings.php.
Referenced by getDefaultCourseCategory().
|
private |
Definition at line 37 of file class.ilECSNodeMappingSettings.php.
Referenced by isDirectoryMappingEnabled().
|
staticprivate |
Definition at line 26 of file class.ilECSNodeMappingSettings.php.
|
private |
MID of sender.
Definition at line 35 of file class.ilECSNodeMappingSettings.php.
Referenced by getMid().
|
private |
Definition at line 48 of file class.ilECSNodeMappingSettings.php.
Referenced by getRoleMappings().
|
private |
Definition at line 31 of file class.ilECSNodeMappingSettings.php.
Referenced by getServerId().
|
private |
Definition at line 28 of file class.ilECSNodeMappingSettings.php.
Referenced by getStorage().