DOMDocumentType
DOMElement::__construct
DOM
PHP Manual
کلاس DOMElement
Class synopsis
DOMElement
extends
DOMNode
{
/* Properties */
readonly
public
bool
$schemaTypeInfo
;
readonly
public
string
$tagName
;
/* Methods */
DOMElement::__construct
(
string
$name
[,
string
$value
[,
string
$namespaceURI
]] )
string
DOMElement::getAttribute
(
string
$name
)
DOMAttr
DOMElement::getAttributeNode
(
string
$name
)
DOMAttr
DOMElement::getAttributeNodeNS
(
string
$namespaceURI
,
string
$localName
)
string
DOMElement::getAttributeNS
(
string
$namespaceURI
,
string
$localName
)
DOMNodeList
DOMElement::getElementsByTagName
(
string
$name
)
DOMNodeList
DOMElement::getElementsByTagNameNS
(
string
$namespaceURI
,
string
$localName
)
bool
DOMElement::hasAttribute
(
string
$name
)
bool
DOMElement::hasAttributeNS
(
string
$namespaceURI
,
string
$localName
)
bool
DOMElement::removeAttribute
(
string
$name
)
bool
DOMElement::removeAttributeNode
(
DOMAttr
$oldnode
)
bool
DOMElement::removeAttributeNS
(
string
$namespaceURI
,
string
$localName
)
DOMAttr
DOMElement::setAttribute
(
string
$name
,
string
$value
)
DOMAttr
DOMElement::setAttributeNode
(
DOMAttr
$attr
)
DOMAttr
DOMElement::setAttributeNodeNS
(
DOMAttr
$attr
)
void
DOMElement::setAttributeNS
(
string
$namespaceURI
,
string
$qualifiedName
,
string
$value
)
void
DOMElement::setIdAttribute
(
string
$name
,
bool
$isId
)
void
DOMElement::setIdAttributeNode
(
DOMAttr
$attr
,
bool
$isId
)
void
DOMElement::setIdAttributeNS
(
string
$namespaceURI
,
string
$localName
,
bool
$isId
)
/* Inherited methods */
DOMNode
DOMNode::appendChild
(
DOMNode
$newnode
)
DOMNode
DOMNode::cloneNode
([
bool
$deep
] )
public
int
DOMNode::getLineNo
(
void
)
bool
DOMNode::hasAttributes
(
void
)
bool
DOMNode::hasChildNodes
(
void
)
DOMNode
DOMNode::insertBefore
(
DOMNode
$newnode
[,
DOMNode
$refnode
] )
bool
DOMNode::isDefaultNamespace
(
string
$namespaceURI
)
bool
DOMNode::isSameNode
(
DOMNode
$node
)
bool
DOMNode::isSupported
(
string
$feature
,
string
$version
)
string
DOMNode::lookupNamespaceURI
(
string
$prefix
)
string
DOMNode::lookupPrefix
(
string
$namespaceURI
)
void
DOMNode::normalize
(
void
)
DOMNode
DOMNode::removeChild
(
DOMNode
$oldnode
)
DOMNode
DOMNode::replaceChild
(
DOMNode
$newnode
,
DOMNode
$oldnode
)
}
Properties
schemaTypeInfo
Not implemented yet, always return
NULL
tagName
The element name
Table of Contents
DOMElement::__construct
— ساخت شی جدید DOMElement
DOMElement::getAttribute
— بازگرداندن مقدار ویژگی
DOMElement::getAttributeNode
— بازگرداندن ویژگی گره
DOMElement::getAttributeNodeNS
— بازگرداندن ویژگی گره
DOMElement::getAttributeNS
— بازگرداندن مقدار ویژگی
DOMElement::getElementsByTagName
— دریافت اجزا با استفاده از tagname
DOMElement::getElementsByTagNameNS
— دریافت گره با استفاده از namespaceURI و localName
DOMElement::hasAttribute
— بررسی وجود ویژگی
DOMElement::hasAttributeNS
— بررسی وجود ویژگی
DOMElement::removeAttribute
— حذف ویژگی
DOMElement::removeAttributeNode
— حذف ویژگی
DOMElement::removeAttributeNS
— حذف ویژگی
DOMElement::setAttribute
— Adds new attribute
DOMElement::setAttributeNode
— اضافه کردن گره ویژگی جدید
DOMElement::setAttributeNodeNS
— اضافه کردن گره ویژگی جدید به چز
DOMElement::setAttributeNS
— اضافه کردن ویژگی جدید
DOMElement::setIdAttribute
— اعلام ویژگی مشخص شده توسط نام که باید از نوع ID باشد
DOMElement::setIdAttributeNode
— اعلام ویژگی مشخص شده توسط گره که باید از نوع ID باشد
DOMElement::setIdAttributeNS
— اعلام ویژگی مشخص شده توسط نام محلی و فضای نام URI که باید از نوع ID باشد
DOMDocumentType
DOMElement::__construct
DOM
PHP Manual