DOMElement::hasAttributeNS

(PHP 5, PHP 7)

DOMElement::hasAttributeNS Checks to see if attribute exists

Opis

public DOMElement::hasAttributeNS ( string $namespaceURI , string $localName ) : bool

Indicates whether attribute in namespace namespaceURI named localName exists as a member of the element.

Parametry

namespaceURI

The namespace URI.

localName

The local name.

Zwracane wartości

Zwraca TRUE w przypadku powodzenia, FALSE w przypadku błędu.

Zobacz też:

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top