PHP 클래스 Jackalope\Helper

파일 보기 프로젝트 열기: jackalope/jackalope 1 사용 예제들

공개 메소드들

메소드 설명
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