Exemplo n.º 1
0
 public function __construct(XMLReader $reader)
 {
     if ($reader->nodeType != XMLReader::ELEMENT) {
         throw new Core_InvalidArgumentValueException('reader', $reader->nodeType);
     }
     parent::__construct($reader);
     $this->attributes = new ArrayObject(parent::attributes()->to_array());
 }
Exemplo n.º 2
0
 public function current()
 {
     return XML_Reader_Node::factory($this->reader);
 }
Exemplo n.º 3
0
 public function current()
 {
     Core::load('XML.Reader.Node');
     return XML_Reader_Node::factory($this->reader);
 }