DOMElement::hasAttributeNS

(PHP 5, PHP 7, PHP 8)

DOMElement::hasAttributeNS Checks to see if attribute exists

Descrição

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

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

Parâmetros

namespace

The namespace URI.

localName

The local name.

Valor Retornado

Retorna true em caso de sucesso ou false em caso de falha.

Veja Também

add a note add a note

User Contributed Notes

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