CakeFest 2024: The Official CakePHP Conference

DOMElement::hasAttribute

(PHP 5, PHP 7, PHP 8)

DOMElement::hasAttributeComprueba si existe un atributo

Descripción

public DOMElement::hasAttribute(string $qualifiedName): bool

Indica si un atributo llamado qualifiedName existe como miembro del elemento.

Parámetros

qualifiedName

El nombre del atributo.

Valores devueltos

Devuelve true en caso de éxito o false en caso de error.

Ver también

add a note

User Contributed Notes

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