DOM/DOMXPathNavigator.php
public function getLocalName()
	{
		if ( is_null( $this->domNode ) ) return null;
		if ( $this->domNode instanceof \DOMNameSpaceNode )
		{
			return $this->domNode->localName;
		}
		else
		{
			return $this->domNode->nodeType == XPathNodeType::ProcessingInstruction
				? "{$this->domNode->nodeName}"
				: "{$this->domNode->localName}";
		}
	}
public function getLocalName()
	{
		if ( is_null( $this->domNode ) ) return null;
		if ( $this->domNode instanceof \DOMNameSpaceNode )
		{
			return $this->domNode->localName;
		}
		else
		{
			return $this->domNode->nodeType == XPathNodeType::ProcessingInstruction
				? "{$this->domNode->nodeName}"
				: "{$this->domNode->localName}";
		}
	}
public function getLocalName ( ) { if ( is_null ( $ this -> domNode ) ) return null ; if ( $ this -> domNode instanceof \ DOMNameSpaceNode ) { return $ this -> domNode -> localName ; } else { return $ this -> domNode -> nodeType == XPathNodeType :: ProcessingInstruction ? "{$this->domNode->nodeName}" : "{$this->domNode->localName}" ; } }
When overridden in a derived class, gets the XPathNavigator.Name
of the current node without any namespace prefix.

@return string A string that contains the local name of the current node, or Empty
if the current node does not have a name (for example, text or comment nodes).
When overridden in a derived class gets the XPathNavigator . Name of the current node without any namespace prefix .