(PHP 8 >= 8.4.0)
Introduction
Dom\Attr represents an attribute in the
Dom\Element object.
This is the modern, spec-compliant equivalent of
DOMAttr .
Class synopsis
/* Inherited constants */
/* Properties */
/* Inherited properties */
/* Methods */
/* Inherited methods */
/* Not documented yet */
}
Properties
- namespaceURI
-
The namespace URI of the attribute.
- prefix
-
The namespace prefix of the attribute.
- localName
-
The local name of the attribute.
- name
-
The qualified name of the attribute.
- value
-
The value of the attribute.
Note:
Unlike the equivalent property in DOMAttr ,
this does not substitute entities.
- ownerElement
-
The element that contains the attribute or
null
.
- specified
-
Legacy option, always is
true
.
Table of Contents
There are no user contributed notes for this page.