PHP Класс Jackalope\Helper

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
getBoolAttribute ( DOMElement $node, string $attribute ) : boolean Returns a dom attribute casted to boolean.

Описание методов

getBoolAttribute() публичный статический Метод

The attribute can contain the string 'false' which is interpreted as false, everything else is true.
public static getBoolAttribute ( DOMElement $node, string $attribute ) : boolean
$node DOMElement to fetch from
$attribute string name to fetch
Результат boolean the value converted to bool