public function getType()
    {
        $type = null;
        if (($parent = $this->getParent()) instanceof ElementHandler && $parent->hasAttribute(self::ATTRIBUTE_TYPE)) {
            $type = $parent->getAttribute(self::ATTRIBUTE_TYPE)->getValue(false, false);
        }
        return $type;
    }
public function getType()
    {
        $type = null;
        if (($parent = $this->getParent()) instanceof ElementHandler && $parent->hasAttribute(self::ATTRIBUTE_TYPE)) {
            $type = $parent->getAttribute(self::ATTRIBUTE_TYPE)->getValue(false, false);
        }
        return $type;
    }
public function getType ( ) { $ type = null ; if ( ( $ parent = $ this -> getParent ( ) ) instanceof ElementHandler && $ parent -> hasAttribute ( self :: ATTRIBUTE_TYPE ) ) { $ type = $ parent -> getAttribute ( self :: ATTRIBUTE_TYPE ) -> getValue ( false , false ) ; } return $ type ; }
Tries to get attribute type on the same node
in order to return the value of the attribute in its type
@return string|null
Tries to get attribute type on the same node in order to return the value of the attribute in its type