-
Notifications
You must be signed in to change notification settings - Fork 0
SmartyBlockInterface
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\SmartyBlockInterface
Extension interface for smarty block functions
Imponeer\Contracts\Smarty\Extension\SmartyExtensionInterface
Name | Description |
---|---|
execute | Execute block function |
getName | Gets name how to register this extension |
Description
public execute (array $params, null|string $content, \Smarty_Internal_Template $template, mixed $repeat)
Execute block function
Parameters
-
(array) $params
: Passed params to block -
(null|string) $content
: Content of template -
(\Smarty_Internal_Template) $template
: Reference to current smarty internal -
(mixed) $repeat
: Helps work with repeating block processing
Return Values
mixed
Description
public getName (void)
Gets name how to register this extension
Parameters
This function has no parameters.
Return Values
string