DOMNode
PHP Manual

DOMNode::lookupPrefix

(PHP 5)

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

설명

string DOMNode::lookupPrefix ( string $namespaceURI )

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

인수

namespaceURI

The namespace URI.

반환값

The prefix of the namespace.

참고


DOMNode
PHP Manual