|
PHP5中文手册
DomElement->tagname()(No version information available, might be only in CVS) DomElement->tagname() — Returns the name of the current element 说明DomElement
string tagname
( void
)
Returns the name of the current node. Calling this function is the same as accessing the tagname property, or calling DomNode->node_name on the current node. 返回值Returns the name of the current DomElement node. 范例
Example#1 Getting the node name
<?php Migrating to PHP 5Use the tagName property of the DOMElement object. |