Exponent v2.7.2

outputfilter.trim.php

Table of Contents

smarty_outputfilter_trim()  : string
Smarty trim outputfilter plugin

Functions

smarty_outputfilter_trim()

Smarty trim outputfilter plugin

smarty_outputfilter_trim(string $source, Smarty_Internal_Template $smarty) : string

Trim unnecessary whitespace from from the beginning and end of output.

Parameters
$source : string

input string

$smarty : Smarty_Internal_Template

Smarty object

Tags
author

Dave Leffler

todo

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

subpackage

Output Filter

Return values
string

filtered output

Search results