URI::fqname

Generate a fully-qualified URI for a namespace URI and local name.

Synopsis

public static function string URI::fqname(mixed [in] $namespaceURI, string [in,optional] $local = null)

Note

If $namespaceURI is a DOMNode, $local must be null. If $namespaceURI is a string, $local must not be null.

Parameters

Name Direction Type Description
$namespaceURI in mixed A string containing a namespace URI, or a DOMNode instance whose fully-qualified node name should be returned.
$local in,optional string The local part to combine with $namespaceURI.

Return Value

On success, returns a fully-qualified URI.