Smarty Method RegisterPlugin
Smarty::registerPlugin() method
Methods | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
public
|
registerPlugin(
Smarty_Internal_TemplateBase|Smarty_Internal_Template|Smarty $obj,
string $type,
string $name,
callback $callback,
bool $cacheable = true,
mixed $cache_attr = null,
): Smarty|Smarty_Internal_Template
Registers plugin to be used in templates
Registers plugin to be used in templates Parameters
Throws
|
# |
Properties | |||
---|---|---|---|
public
|
int
|
$objMap = 3
|
# |