/** * tag_open method * * @param string $parser * @param string $tag * @param array $attribs */ function tag_open($parser, $tag, $attribs) { $node = new SimpleClass(); $node->setArray($attribs); $node->setProp("_TAGNAME", $tag); $this->datas[] = $node; }
/** * helper function initialise a simpleClass Object * * @param string $class * @param string $tree * @return string */ function _initClass($tag, $attribs = array()) { $node = new SimpleClass(); $node->setArray($attribs); $node->setProp("_TAGNAME", $tag); $this->datas[] = $node; //$this->_debug( 3, '', 'Initialized simple class', 'OK' ); }