40 $this->server_id = $a_server_id;
53 $GLOBALS[
'DIC'][
'ilLog']->write(__METHOD__ .
': Deprecated call...');
54 $GLOBALS[
'DIC'][
'ilLog']->logStack();
56 if (self::$instance) {
57 return self::$instance;
70 if (self::$instances[$a_server_id .
'_' . $a_mid]) {
71 return self::$instances[$a_server_id .
'_' . $a_mid];
73 return self::$instances[$a_server_id .
'_' . $a_mid] =
new self($a_server_id, $a_mid);
109 $this->directory_active = $a_status;
118 $this->create_empty_containers = $a_status;
132 $this->course_active = $a_stat;
142 $this->default_cat = $a_def;
157 $this->allinone = $a_stat;
162 $this->allinone_cat = $a_cat;
172 $this->attributes = $a_stat;
182 $this->role_mappings = $a_mappings;
196 $this->auth_mode = $a_auth_mode;
isAttributeMappingEnabled()
enableCourseAllocation($a_stat)
update()
Save settings to db.
setRoleMappings($a_mappings)
getServerId()
Get server id of setting.
initStorage()
Init storage.
static getInstanceByServerMid($a_server_id, $a_mid)
Get instance.
enableDirectoryMapping($a_status)
Enable node mapping.
getDefaultCourseCategory()
isAllInOneCategoryEnabled()
enableEmptyContainerCreation($a_status)
enable creation of empty containers
static getInstance()
Get singeleton instance.
$course_active
Course allocation.
read()
Read settings from db.
getAuthMode()
Get auth mode.
__construct($a_server_id, $a_mid)
Singeleton constructor.
enableAttributeMapping($a_stat)
setAllInOneCategory($a_cat)
getMid()
Get mid of sender.
isCourseAllocationEnabled()
setDefaultCourseCategory($a_def)
isDirectoryMappingEnabled()
Check if node mapping is enabled.
isEmptyContainerCreationEnabled()
Check if the creation of empty containers (pathes without courses) is enabled.
setAuthMode($a_auth_mode)
Set user auth mode.
$GLOBALS['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.