Skip to content

Smarty_Internal_Method_UnloadFilter

Smarty Method UnloadFilter

Smarty::unloadFilter() method

Methods

unloadFilter

load a filter of specified type and name

public unloadFilter(\Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj, string $type, string $name): \Smarty_Internal_TemplateBase

Parameters:

Parameter Type Description
$obj \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty
$type string filter type
$name string filter name

Throws:

See Also:

  • https://www.smarty.net/docs/en/api.unload.filter.tpl -

Inherited methods

loadFilter

load a filter of specified type and name

public loadFilter(\Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj, string $type, string $name): bool

Parameters:

Parameter Type Description
$obj \Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty
$type string filter type
$name string filter name

Throws:

if filter could not be loaded

See Also:

  • https://www.smarty.net/docs/en/api.load.filter.tpl -

_checkFilterType

Check if filter type is valid

public _checkFilterType(string $type): mixed

Parameters:

Parameter Type Description
$type string

Throws:



Automatically generated on 2025-03-18