Example #1
0
 /**
  * Parse data
  *
  * @access	protected
  * @param	object		Parser ref
  * @param	string		Tag name
  * @return	@e void
  */
 protected function _myDataElement(&$parser_obj, $data)
 {
     if ($this->tagname) {
         $this->stack[$this->array_id] = array('tag' => $this->tagname, 'type' => 'open', 'level' => $this->level, 'value' => class_xml::xmlUnconvertSafecdata($data), '_data' => 1);
     }
     //-------------------------------
     // Inc. array ID
     //-------------------------------
     $this->array_id++;
 }