Пример #1
0
 protected function parse_comment()
 {
     if (!parent::parse_comment()) {
         return false;
     }
     $index = null;
     //Needs to be passed by ref
     $this->hierarchy[count($this->hierarchy) - 1]->addComment($this->status['comment'], $index);
     return true;
 }
Пример #2
0
 function parse_comment()
 {
     if (!parent::parse_comment()) {
         return false;
     }
     $index = null;
     $this->hierarchy[count($this->hierarchy) - 1]->addComment($this->status['comment'], $index);
     return true;
 }