Class for filter processing

package Smarty
subpackage PluginsInternal

 Methods

Run filters over content

runFilter(string $type, string $content, \Smarty_Internal_Template $template) : string
Static

The filters will be lazy loaded if required class name format: Smarty_FilterType_FilterName plugin filename format: filtertype.filtername.php Smarty2 filter plugins could be used

Parameters

$type

string

the type of filter ('pre','post','output') which shall run

$content

string

the content which shall be processed by the filters

$template

\Smarty_Internal_Template

template object

Returns

stringthe filtered content