DOMNode::lookupPrefix

(PHP 5, PHP 7)

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

Beschreibung

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

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