Method | Description | |
---|---|---|
getBoolAttribute ( DOMElement $node, string $attribute ) : boolean | Returns a dom attribute casted to boolean. |
public static getBoolAttribute ( DOMElement $node, string $attribute ) : boolean | ||
$node | DOMElement | to fetch from |
$attribute | string | name to fetch |
return | boolean | the value converted to bool |