18 declare(strict_types=1);
    57         $this->server_id = $a_server_id;
    69         $id = $a_server_id . 
'_' . $a_mid;
    70         return self::$instances[
$id] ?? (self::$instances[
$id] = 
new self($a_server_id, $a_mid));
   102         $this->directory_active = $a_status;
   110         $this->create_empty_containers = $a_status;
   123         $this->course_active = $a_stat;
   133         $this->default_cat = $a_default_category;
   148         $this->allinone = $a_stat;
   153         $this->allinone_cat = $a_cat;
   163         $this->attributes = $a_stat;
   173         $this->role_mappings = $a_mappings;
   186         $this->auth_mode = $a_auth_mode;
   235     protected function read(): void
   237         if ($this->
getStorage()->
get(
'directory_active')) {
   240         if ($this->
getStorage()->
get(
'create_empty')) {
   243         if ($this->
getStorage()->
get(
'course_active')) {
   246         if ($this->
getStorage()->
get(
'default_category')) {
   252         if ($this->
getStorage()->
get(
'allinone_cat')) {
   258         if ($this->
getStorage()->
get(
'role_mappings')) {
 
setAllInOneCategory(int $a_cat)
 
bool $create_empty_containers
 
isAttributeMappingEnabled()
 
update()
Save settings to db. 
 
enableAttributeMapping(bool $a_stat)
 
getServerId()
Get server id of setting. 
 
initStorage()
Init storage. 
 
static getInstanceByServerMid(int $a_server_id, int $a_mid)
Get instance. 
 
enableDirectoryMapping(bool $a_status)
Enable node mapping. 
 
getDefaultCourseCategory()
 
isAllInOneCategoryEnabled()
 
setRoleMappings(array $a_mappings)
 
setAuthMode(string $a_auth_mode)
Set user auth mode. 
 
enableEmptyContainerCreation(bool $a_status)
enable creation of empty containers 
 
setDefaultCourseCategory(int $a_default_category)
 
getAuthMode()
Get auth mode. 
 
enableCourseAllocation(bool $a_stat)
 
bool $course_active
Course allocation. 
 
getMid()
Get mid of sender. 
 
isCourseAllocationEnabled()
 
__construct(int $a_server_id, int $a_mid)
Singeleton constructor. 
 
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins 
 
isDirectoryMappingEnabled()
Check if node mapping is enabled. 
 
isEmptyContainerCreationEnabled()
Check if the creation of empty containers (pathes without courses) is enabled. 
 
enableAllInOne(bool $a_stat)