private function get_attrs()
    {
        $this->attrs = new \stdClass;

        foreach($this->dom_element->attributes as $name => $node)
        {
            $this->attrs->{strtolower($name)} = $node->nodeValue;
        }
        return $this;
    }
private function get_attrs()
    {
        $this->attrs = new \stdClass;

        foreach($this->dom_element->attributes as $name => $node)
        {
            $this->attrs->{strtolower($name)} = $node->nodeValue;
        }
        return $this;
    }
private function get_attrs ( ) { $ this -> attrs = new \ stdClass ; foreach ( $ this -> dom_element -> attributes as $ name => $ node ) { $ this -> attrs -> { strtolower ( $ name ) } = $ node -> nodeValue ; } return $ this ; }
Metodo que permite obtener todos atributos del elementos y convertirlos en un objeto stdClass.
@return self
Metodo que permite obtener todos atributos del elementos y convertirlos en un objeto stdClass .