Functions

Smarty trimwhitespace outputfilter plugin

smarty_outputfilter_trimwhitespace(string $source, \Smarty_Internal_Template $smarty) : string

Trim unnecessary whitespace from HTML markup.

author Rodney Rehm
todo substr_replace() is not overloaded by mbstring.func_overload - so this function might fail!

Parameters

$source

string

input string

$smarty

\Smarty_Internal_Template

Smarty object

Returns

stringfiltered output

Smarty htmlspecialchars variablefilter plugin

smarty_variablefilter_htmlspecialchars(string $source, \Smarty_Internal_Template $smarty) : string

Parameters

$source

string

input string

$smarty

\Smarty_Internal_Template

Smarty object

Returns

stringfiltered output