DOM/DOMXPathNavigator.php
public function getNodeType()
	{
		if ( is_null( $this->domNode ) ) return null;
		return isset(  DOMXPathNavigator::$nodeTypeMap[ $this->domNode->nodeType ] )
			? DOMXPathNavigator::$nodeTypeMap[ $this->domNode->nodeType ]
			: XPathNodeType::Element;
	}
public function getNodeType()
	{
		if ( is_null( $this->domNode ) ) return null;
		return isset(  DOMXPathNavigator::$nodeTypeMap[ $this->domNode->nodeType ] )
			? DOMXPathNavigator::$nodeTypeMap[ $this->domNode->nodeType ]
			: XPathNodeType::Element;
	}
public function getNodeType ( ) { if ( is_null ( $ this -> domNode ) ) return null ; return isset ( DOMXPathNavigator :: $ nodeTypeMap [ $ this -> domNode -> nodeType ] ) ? DOMXPathNavigator :: $ nodeTypeMap [ $ this -> domNode -> nodeType ] : XPathNodeType :: Element ; }
When overridden in a derived class, gets the XPathNodeType of the current node.

@return XPathNodeType One of the XPathNodeType values representing the current node.
When overridden in a derived class gets the XPathNodeType of the current node .