The Dom\Attr class
(PHP 8 >= 8.4.0)
简介
Dom\Attr represents an attribute in the Dom\Element object.
This is the modern, spec-compliant equivalent of DOMAttr.
类摘要
/* 继承的常量 */
/* 属性 */
/* 继承的属性 */
/* 方法 */
/* 继承的方法 */
/* Not documented yet */
}属性
namespaceURIThe namespace URI of the attribute.
prefixThe namespace prefix of the attribute.
localNameThe local name of the attribute.
nameThe qualified name of the attribute.
valueThe value of the attribute.
ownerElement注意:
Unlike the equivalent property in DOMAttr, this does not substitute entities.
The element that contains the attribute or null.
Legacy option, always is true.
目录
- Dom\Attr::isId — Checks if attribute is a defined ID
- Dom\Attr::rename — Changes the qualified name or namespace of an attribute
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
