$objMap
$objMap : integer
Valid for Smarty and template object
Smarty Method RegisterPlugin
Smarty::registerPlugin() method
registerPlugin(\Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj, string $type, string $name, callback $callback, boolean $cacheable = true, mixed $cache_attr = null) : \Smarty|\Smarty_Internal_Template
Registers plugin to be used in templates
| \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty | $obj | |
| string | $type | plugin type |
| string | $name | name of template tag |
| callback | $callback | PHP callback to register |
| boolean | $cacheable | if true (default) this function is cache able |
| mixed | $cache_attr | caching attributes if any |
when the plugin tag is invalid