示例#1
0
文件: Node.php 项目: jeko/pksworld
 public function __construct(PHPTAL_Php_CodeWriter $generator, $node)
 {
     parent::__construct($generator, $node);
     $this->name = $node->getName();
     $this->attributes = $node->attributes;
     $this->xmlns = $node->getXmlnsState();
     $this->prepare();
 }