\Smarty_Internal_Method_UnloadFilter

Smarty Method UnloadFilter

Smarty::unloadFilter() method

Summary

Methods
Properties
Constants
loadFilter()
_checkFilterType()
unloadFilter()
$objMap
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$filterTypes
N/A

Properties

$objMap

$objMap : integer

Valid for Smarty and template object

Type

integer

$filterTypes

$filterTypes : array

Valid filter types

Type

array

Methods

loadFilter()

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

load a filter of specified type and name

Parameters

\Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
string $type

filter type

string $name

filter name

Throws

\SmartyException

if filter could not be loaded

Returns

boolean

_checkFilterType()

_checkFilterType(string  $type) 

Check if filter type is valid

Parameters

string $type

Throws

\SmartyException

unloadFilter()

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

load a filter of specified type and name

Parameters

\Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
string $type

filter type

string $name

filter name

Returns

boolean