DOMNode::hasAttributes

(PHP 5, PHP 7)

DOMNode::hasAttributes Checks if node has attributes

설명

public bool DOMNode::hasAttributes ( void )

This method checks if the node has attributes. The tested node has to be an XML_ELEMENT_NODE.

반환값

성공 시 TRUE를, 실패 시 FALSE를 반환합니다.

참고

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top