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.
Показать файл
Открыть проект
Открытые методы
Метод |
Описание |
|
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. |
|
Описание методов
compile()
публичный Метод
Compiles the node to PHP.
public compile ( Twig_Compiler $compiler ) |
$compiler |
Twig_Compiler |
|
compileString()
защищенный Метод
Parses out the body to extract vars to pass to the translation function.