DOMNode
PHP Manual

DOMNode::lookupPrefix

(PHP 5, PHP 7)

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

Beschreibung

public string DOMNode::lookupPrefix ( string $namespaceURI )

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

Parameter-Liste

namespaceURI

The namespace URI.

Rückgabewerte

The prefix of the namespace.

Siehe auch


DOMNode
PHP Manual