PHP 클래스 DataTemplate

부터: 19/09/2010
저자: Julien PIERRE
파일 보기 프로젝트 열기: openeyes/openeyes 1 사용 예제들

공개 메소드들

메소드 설명
fromJsonFile ( string $filename, array $consts = [] ) : DataTemplate

보호된 메소드들

메소드 설명
preprocess ( object | array $rawTemplate, array $consts ) : DataTemplate
preprocessDirective ( object $object, array $consts ) : DataTemplateDirective | null
replaceConsts ( string $value, array $consts ) : string

메소드 상세

fromJsonFile() 공개 정적인 메소드

public static fromJsonFile ( string $filename, array $consts = [] ) : DataTemplate
$filename string
$consts array
리턴 DataTemplate

preprocess() 보호된 정적인 메소드

protected static preprocess ( object | array $rawTemplate, array $consts ) : DataTemplate
$rawTemplate object | array
$consts array
리턴 DataTemplate

preprocessDirective() 보호된 정적인 메소드

protected static preprocessDirective ( object $object, array $consts ) : DataTemplateDirective | null
$object object
$consts array
리턴 DataTemplateDirective | null

replaceConsts() 보호된 정적인 메소드

protected static replaceConsts ( string $value, array $consts ) : string
$value string
$consts array
리턴 string