Smarty_Internal_Method_RegisterDefaultPluginHandler
Smarty Method RegisterDefaultPluginHandler
Smarty::registerDefaultPluginHandler() method
- Full name:
\Smarty_Internal_Method_RegisterDefaultPluginHandler
Properties
objMap
Valid for Smarty and template object
Methods
registerDefaultPluginHandler
Registers a default plugin handler
public registerDefaultPluginHandler(\Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj, callable $callback): \Smarty|\Smarty_Internal_Template
Parameters:
Parameter | Type | Description |
---|---|---|
$obj |
\Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty | |
$callback |
callable | class/method name |
Throws:
if $callback is not callable
See Also:
- https://www.smarty.net/docs/en/api.register.default.plugin.handler.tpl -
Automatically generated on 2025-03-18