/**
  * Start wrting xml
  */
 public function export($a_with_header = true)
 {
     if ($this->getMode() == self::MODE_EXPORT) {
         if ($a_with_header) {
             $this->buildHeader();
         }
         $this->buildCategory();
         $this->buildTranslations();
         include_once './Services/Container/classes/class.ilContainerSortingSettings.php';
         ilContainerSortingSettings::_exportContainerSortingSettings($this, $this->getCategory()->getId());
         include_once './Services/Container/classes/class.ilContainer.php';
         ilContainer::_exportContainerSettings($this, $this->category->getId());
         $this->buildFooter();
     }
 }
 function start()
 {
     if ($this->getMode() == self::MODE_SOAP) {
         $this->__buildHeader();
         $this->__buildCourseStart();
         $this->__buildMetaData();
         $this->__buildAdvancedMetaData();
         if ($this->attach_users) {
             $this->__buildAdmin();
             $this->__buildTutor();
             $this->__buildMember();
         }
         $this->__buildSubscriber();
         $this->__buildWaitingList();
         $this->__buildSetting();
         include_once './Services/Container/classes/class.ilContainerSortingSettings.php';
         ilContainerSortingSettings::_exportContainerSortingSettings($this, $this->course_obj->getId());
         ilContainer::_exportContainerSettings($this, $this->course_obj->getId());
         $this->__buildFooter();
     } elseif ($this->getMode() == self::MODE_EXPORT) {
         $this->__buildCourseStart();
         $this->__buildMetaData();
         $this->__buildAdvancedMetaData();
         $this->__buildSetting();
         include_once './Services/Container/classes/class.ilContainerSortingSettings.php';
         ilContainerSortingSettings::_exportContainerSortingSettings($this, $this->course_obj->getId());
         ilContainer::_exportContainerSettings($this, $this->course_obj->getId());
         $this->__buildFooter();
     }
 }
 function start()
 {
     if ($this->getMode() == self::MODE_SOAP) {
         $this->__buildHeader();
         $this->__buildGroup();
         $this->__buildTitleDescription();
         $this->__buildRegistration();
         if ($this->attach_users) {
             $this->__buildAdmin();
             $this->__buildMember();
         }
         include_once './Services/Container/classes/class.ilContainerSortingSettings.php';
         ilContainerSortingSettings::_exportContainerSortingSettings($this, $this->group_obj->getId());
         ilContainer::_exportContainerSettings($this, $this->group_obj->getId());
         $this->__buildFooter();
     } elseif ($this->getMode() == self::MODE_EXPORT) {
         $this->__buildGroup();
         $this->__buildTitleDescription();
         $this->__buildRegistration();
         include_once './Services/Container/classes/class.ilContainerSortingSettings.php';
         ilContainerSortingSettings::_exportContainerSortingSettings($this, $this->group_obj->getId());
         ilContainer::_exportContainerSettings($this, $this->group_obj->getId());
         $this->__buildFooter();
     }
 }