/**
  * start the parser
  */
 function startParsing()
 {
     $this->styles = array();
     parent::startParsing();
     $this->style_obj->setStyle($this->styles);
     $this->style_obj->setCharacteristics($this->chars);
 }
 /**
  * start the parser
  */
 public function startParsing()
 {
     parent::startParsing();
     if ($this->ref instanceof ilContainerReference) {
         return $this->ref;
     }
     return 0;
 }
 /**
  * start the parser
  */
 function startParsing()
 {
     parent::startParsing();
     switch ($this->getMode()) {
         case "check":
             if (count($this->not_imported)) {
                 return false;
             }
             break;
         case "import":
             $this->__insert();
             break;
     }
     return true;
 }
示例#4
0
 function startParsing()
 {
     $this->question_counter = 1;
     parent::startParsing();
     return FALSE;
 }
示例#5
0
 /**
  * start the parser
  */
 function startParsing()
 {
     parent::startParsing();
 }
 /**
  * start the parser
  */
 function startParsing()
 {
     parent::startParsing();
     if ($this->mode == ilGroupXMLParser::$CREATE) {
         return is_object($this->group_obj) ? $this->group_obj->getRefId() : false;
     } else {
         return is_object($this->group_obj) ? $this->group_obj->update() : false;
     }
 }
 /**
  * start the parser
  */
 public function startParsing()
 {
     parent::startParsing();
     if ($this->mode == ilCategoryXmlParser::MODE_CREATE) {
         return is_object($this->cat) ? $this->cat->getRefId() : false;
     } else {
         return is_object($this->cat) ? $this->cat->update() : false;
     }
 }