DOMNode::hasAttributes

(PHP 5)

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