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 |