public function getAttributes(\DOMElement $diaObject)
    {
        $xpath = $diaObject->getNodePath() . '/dia:attribute[@name="attributes"]/*';
        $nodeList = $this->engine->query($xpath);

        if ($nodeList->length > 0) {
            return $nodeList;
        }
        return false;
    }
public function getAttributes(\DOMElement $diaObject)
    {
        $xpath = $diaObject->getNodePath() . '/dia:attribute[@name="attributes"]/*';
        $nodeList = $this->engine->query($xpath);

        if ($nodeList->length > 0) {
            return $nodeList;
        }
        return false;
    }
public function getAttributes ( \ DOMElement $ diaObject ) { $ xpath = $ diaObject -> getNodePath ( ) . '/dia:attribute[@name="attributes"]/*' ; $ nodeList = $ this -> engine -> query ( $ xpath ) ; if ( $ nodeList -> length > 0 ) { return $ nodeList ; } return false ; }
Getter for retrieving all attributes from a DIA object structure

@param \DOMElement $diaObject
@return boolean
Getter for retrieving all attributes from a DIA object structure