PHP 클래스 TFD_Environment

Part of the Drupal twig extension distribution http://renebakx.nl/twig-for-drupal
상속: extends Twig_Environment
파일 보기 프로젝트 열기: tfd7/tfd7

보호된 프로퍼티들

프로퍼티 타입 설명
$autoRender
$fileExtension
$templateClassPrefix

공개 메소드들

메소드 설명
__construct ( Twig_LoaderInterface $loader = null, $options = [] )
flushCompilerCache ( )
getCacheFilename ( $name )
getTemplateClass ( $name, $index = null ) : returns the name of the class to be created which is also the name of the cached instance
isAutoRender ( )
loadTemplate ( $name, $index = null )

보호된 메소드들

메소드 설명
writeCacheFile ( $file, $content )

비공개 메소드들

메소드 설명
generateCacheKeyByName ( $name )

메소드 상세

__construct() 공개 메소드

public __construct ( Twig_LoaderInterface $loader = null, $options = [] )
$loader Twig_LoaderInterface

flushCompilerCache() 공개 메소드

public flushCompilerCache ( )

getCacheFilename() 공개 메소드

public getCacheFilename ( $name )

getTemplateClass() 공개 메소드

returns the name of the class to be created which is also the name of the cached instance
public getTemplateClass ( $name, $index = null ) :
$name
리턴

isAutoRender() 공개 메소드

public isAutoRender ( )

loadTemplate() 공개 메소드

public loadTemplate ( $name, $index = null )

writeCacheFile() 보호된 메소드

protected writeCacheFile ( $file, $content )

프로퍼티 상세

$autoRender 보호되어 있는 프로퍼티

protected $autoRender

$fileExtension 보호되어 있는 프로퍼티

protected $fileExtension

$templateClassPrefix 보호되어 있는 프로퍼티

protected $templateClassPrefix