PHP Класс Webiny\Component\TemplateEngine\Drivers\Smarty\AbstractSmartyExtension

Наследование: implements Webiny\Component\TemplateEngine\Drivers\Smarty\SmartyExtensionInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
getBlockFunctions ( ) : array Register block functions.
getCompilerFunctions ( ) : array Register compiler functions.
getFunctions ( ) : array Register template functions.
getInserts ( ) : array Register insets.
getModifiers ( ) : array Register modifiers.
getOutputFilters ( ) : array Register output filters.
getPostFilters ( ) : array Register post filters.
getPreFilters ( ) : array Register pre filters.
getResources ( ) : array Register resources.

Описание методов

getBlockFunctions() публичный Метод

Block functions are functions of the form: {func} .. {/func}. In other words, they enclose a template block and operate on the contents of this block.
public getBlockFunctions ( ) : array
Результат array of SmartySimplePlugin

getCompilerFunctions() публичный Метод

Compiler functions are called only during compilation of the template. They are useful for injecting PHP code or time-sensitive static content into the template.
public getCompilerFunctions ( ) : array
Результат array of SmartySimplePlugin

getFunctions() публичный Метод

Register template functions.
public getFunctions ( ) : array
Результат array of SmartySimplePlugin

getInserts() публичный Метод

Insert plugins are used to implement functions that are invoked by {insert} tags in the template.
public getInserts ( ) : array
Результат array of SmartySimplePlugin

getModifiers() публичный Метод

Modifiers are little functions that are applied to a variable in the template before it is displayed or used in some other context. Modifiers can be chained together.
public getModifiers ( ) : array
Результат array of SmartySimplePlugin

getOutputFilters() публичный Метод

Output filter plugins operate on a template's output, after the template is loaded and executed, but before the output is displayed.
public getOutputFilters ( ) : array
Результат array of SmartySimplePlugin

getPostFilters() публичный Метод

Postfilters are used to process the compiled output of the template (the PHP code) immediately after the compilation is done but before the compiled template is saved to the filesystem.
public getPostFilters ( ) : array
Результат array of SmartySimplePlugin

getPreFilters() публичный Метод

Prefilters are used to process the source of the template immediately before compilation.
public getPreFilters ( ) : array
Результат array of SmartySimplePlugin

getResources() публичный Метод

Resource plugins are meant as a generic way of providing template sources or PHP script components to Smarty. Some examples of resources: databases, LDAP, shared memory, sockets, and so on.
public getResources ( ) : array
Результат array of SmartySimplePlugin