Smarty Method RegisterFilter
Smarty::registerFilter() method
Methods | ||||||||
---|---|---|---|---|---|---|---|---|
public
|
registerFilter(
Smarty_Internal_TemplateBase|Smarty_Internal_Template|Smarty $obj,
string $type,
callback $callback,
string|null $name = null,
): Smarty|Smarty_Internal_Template
Registers a filter function
Registers a filter function Parameters
Throws
|
# | ||||||
public
|
_getFilterName(callback $function_name): string
Return internal filter name
Return internal filter name Returnsinternal filter name |
# | ||||||
public
|
_checkFilterType(string $type)
Check if filter type is valid
|
# |
Properties | |||
---|---|---|---|
public
|
int
|
$objMap = 3
|
# |