The DOMAttr class
(PHP 5, PHP 7, PHP 8)
Einführung
DOMAttr represents an attribute in the DOMElement object.
Klassenbeschreibung
bool
$exclusive
= false
,bool
$withComments
= false
,?array
$xpath
= null
,?array
$nsPrefixes
= null
): string|false
string
$uri
,bool
$exclusive
= false
,bool
$withComments
= false
,?array
$xpath
= null
,?array
$nsPrefixes
= null
): int|false
Eigenschaften
- name
-
The name of the attribute.
- ownerElement
-
The element which contains the attribute or
null
. - schemaTypeInfo
-
Not implemented yet, always is
null
. - specified
-
Not implemented yet, always is
true
. - value
-
The value of the attribute.
Inhaltsverzeichnis
- DOMAttr::__construct — Creates a new DOMAttr object
- DOMAttr::isId — Checks if attribute is a defined ID