XOOPS 2.5.6
Final
|
Go to the source code of this file.
Namespaces | |
namespace | Smarty |
Functions | |
smarty_outputfilter_trimwhitespace ($source, &$smarty) | |
smarty_outputfilter_trimwhitespace_replace ($search_str, $replace, &$subject) | |
smarty_outputfilter_trimwhitespace | ( | $source, | |
& | $smarty | ||
) |
Smarty trimwhitespace outputfilter plugin
File: outputfilter.trimwhitespace.php
Type: outputfilter
Name: trimwhitespace
Date: Jan 25, 2003
Purpose: trim leading white space and blank lines from template source after it gets interpreted, cleaning up code and saving bandwidth. Does not affect <
>
and <SCRIPT></SCRIPT> blocks.
Install: Drop into the plugin directory, call $smarty->load_filter('output','trimwhitespace');
from application.
string | |
Smarty |
Definition at line 28 of file outputfilter.trimwhitespace.php.
References smarty_outputfilter_trimwhitespace_replace().
smarty_outputfilter_trimwhitespace_replace | ( | $search_str, | |
$replace, | |||
& | $subject | ||
) |
Definition at line 64 of file outputfilter.trimwhitespace.php.
Referenced by smarty_outputfilter_trimwhitespace().