DOMNode::lookupPrefix

(PHP 5, PHP 7)

DOMNode::lookupPrefix Gets the namespace prefix of the node based on the namespace URI

说锟斤拷

public DOMNode::lookupPrefix ( string $namespaceURI ) : string

Gets the namespace prefix of the node based on the namespace URI.

锟斤拷锟斤拷

namespaceURI

The namespace URI.

锟斤拷锟斤拷值

The prefix of the namespace.

锟轿硷拷