|
DomElement::tagname(PHP 4 >= 4.1.0) DomElement::tagname — Returns the name of the current element Описание
string DomElement::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. Примеры
Пример #1 Getting the node name
<?php Migrating to PHP 5Use the tagName property of the DOMElement object. |
|