The DOMAttr class
(PHP 5, PHP 7, PHP 8)
簡介
DOMAttr represents an attribute in the DOMElement object.
類摘要
class DOMAttr
extends
DOMNode
{
/* 屬性 */
/* 繼承的屬性 */
/* 方法 */
/* 繼承的方法 */
public DOMNode::C14N(
bool
bool
?array
?array
): string|false
bool
$exclusive
= false
,bool
$withComments
= false
,?array
$xpath
= null
,?array
$nsPrefixes
= null
): string|false
public DOMNode::C14NFile(
string
bool
bool
?array
?array
): int|false
}string
$uri
,bool
$exclusive
= false
,bool
$withComments
= false
,?array
$xpath
= null
,?array
$nsPrefixes
= null
): int|false
屬性
- 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.
目錄
- DOMAttr::__construct — Creates a new DOMAttr object
- DOMAttr::isId — Checks if attribute is a defined ID