DomElement::get_attribute_node(PHP 4 >= 4.1.0) DomElement::get_attribute_node — Returns the node of the given attribute Описание
DomAttribute DomElement::get_attribute_node
( string $name
)
Returns the node of the given attribute in the current element. Список параметров
Возвращаемые значенияReturns the node of the attribute as a DomAttribute or FALSE if no attribute with the given name is found. Примеры
Пример #1 Getting an attribute node
<?phpMigrating to PHP 5 |
||