/**
  * @maybe 
  * Constructor
  */
 public function __construct(ilECSSetting $server)
 {
     $this->server = $server;
     $this->mapping = ilECSNodeMappingSettings::getInstance();
     include_once './Services/WebServices/ECS/classes/class.ilECSParticipantSettings.php';
     $this->mid = ilECSParticipantSettings::loookupCmsMid($this->getServer()->getServerId());
 }
 /**
  * Set tabs
  * @global ilTabsGUI $ilTabs
  */
 protected function setTabs()
 {
     global $ilTabs;
     include_once './Services/WebServices/ECS/classes/class.ilECSParticipantSettings.php';
     $ilTabs->clearTargets();
     $ilTabs->setBackTarget($this->lng->txt('ecs_back_settings'), $this->ctrl->getParentReturn($this));
     // Directories are only visible for import type campus managment.
     if (ilECSParticipantSettings::loookupCmsMid($this->getServer()->getServerId()) == $this->getMid()) {
         $ilTabs->addTab('ecs_dir_allocation', $this->lng->txt('ecs_dir_alloc'), $this->ctrl->getLinkTarget($this, 'dSettings'));
     }
     $ilTabs->addTab('ecs_crs_allocation', $this->lng->txt('ecs_crs_alloc'), $this->ctrl->getLinkTarget($this, 'cStart'));
 }
 /**
  * init handler
  */
 private function init()
 {
     include_once './Services/WebServices/ECS/classes/class.ilECSParticipantSettings.php';
     $this->mid = ilECSParticipantSettings::loookupCmsMid($this->getServer()->getServerId());
 }