DomElement->has_attribute()(No version information available, might be only in CVS) DomElement->has_attribute() — Checks to see if an attribute exists in the current node ОписаниеDomElement
bool has_attribute
( string $name
)
This functions checks to see if an attribute named name exists in the current node. Список параметров
Возвращаемые значенияReturns TRUE if the asked attribute exists, FALSE otherwise. Примеры
Пример #1 Testing the existence of an attribute
<?phpMigrating to PHP 5 |
|
|
| © 2009 Тест скорости интернета | Boont.Ru |