-
Notifications
You must be signed in to change notification settings - Fork 0
SmartyCompilerInterface
MekDrop edited this page Jul 25, 2022
·
1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!# Imponeer\Contracts\Smarty\Extension\SmartyCompilerInterface
Interface that lets to define smarty compiler extension (that is not internal function based)
Imponeer\Contracts\Smarty\Extension\SmartyExtensionInterface
| Name | Description |
|---|---|
| execute | Execute compiler |
| getName | Gets name how to register this extension |
Description
public execute (array $args, \Smarty_Internal_SmartyTemplateCompiler $compiler)Execute compiler
Parameters
-
(array) $args: Arguments from compiled tag -
(\Smarty_Internal_SmartyTemplateCompiler) $compiler: Current compiler object
Return Values
string|void
Description
public getName (void)Gets name how to register this extension
Parameters
This function has no parameters.
Return Values
string