CakeFest 2024: The Official CakePHP Conference

DOMElement::hasAttributeNS

(PHP 5, PHP 7, PHP 8)

DOMElement::hasAttributeNS Checks to see if attribute exists

Beschreibung

public DOMElement::hasAttributeNS(?string $namespace, string $localName): bool

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

Parameter-Liste

namespace

The namespace URI.

localName

The local name.

Rückgabewerte

Gibt bei Erfolg true zurück. Bei einem Fehler wird false zurückgegeben.

Siehe auch

add a note

User Contributed Notes

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