PHP 클래스 Kohana_Twig_Trans_Node, kohana-twig
Based off of the core twig code for the trans tag, but modified
to use Kohana's __() function.
파일 보기
프로젝트 열기: jonathangeiger/kohana-twig
공개 메소드들
메소드 |
설명 |
|
compile ( Twig_Compiler $compiler ) |
Compiles the node to PHP. |
|
보호된 메소드들
메소드 |
설명 |
|
compileString ( Twig_NodeInterface $body ) : array |
Parses out the body to extract vars to pass to the translation function. |
|
메소드 상세
Compiles the node to PHP.
public compile ( Twig_Compiler $compiler ) |
$compiler |
Twig_Compiler |
|
Parses out the body to extract vars to pass to the translation function.