PHP 클래스 Backend\Core\Engine\TwigTemplate

상속: extends Common\Core\Twig\BaseTwigTemplate
파일 보기 프로젝트 열기: forkcms/forkcms 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( boolean $addToReference = true ) The constructor will store the instance in the reference, preset some settings and map the custom modifiers.
getContent ( string $template ) : string Fetch the parsed content from this template.

비공개 메소드들

메소드 설명
parseAuthenticatedUser ( ) Parse the settings for the authenticated user
parseAuthentication ( ) Parse the authentication settings for the authenticated user
parseConstants ( ) Parse all user-defined constants
parseDebug ( ) Assigns an option if we are in debug-mode
parseLabels ( ) Assign the labels
parseLocale ( ) Parse the locale (things like months, days, .
parseVars ( ) Parse some vars

메소드 상세

__construct() 공개 메소드

The constructor will store the instance in the reference, preset some settings and map the custom modifiers.
public __construct ( boolean $addToReference = true )
$addToReference boolean Should the instance be added into the reference.

getContent() 공개 메소드

Fetch the parsed content from this template.
public getContent ( string $template ) : string
$template string The location of the template file, used to display this template.
리턴 string The actual parsed content after executing this template.