DOMElement->hasAttribute()
(No version information available, might be only in CVS)
DOMElement->hasAttribute() — Checks to see if attribute exists
설명
DOMElement
bool hasAttribute
( string $name
)
Indicates whether attribute named name exists as a member of the element.
매개변수
- name
-
The attribute name.
반환값
성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.