API - XOOPS 2.5.11 Beta 2
By monxoops.fr
outputfilter.trimwhitespace.php File Reference

Namespaces

namespace  Smarty
 

Functions

 smarty_outputfilter_trimwhitespace ($source, &$smarty)
 
 smarty_outputfilter_trimwhitespace_replace ($search_str, $replace, &$subject)
 

Function Documentation

◆ smarty_outputfilter_trimwhitespace()

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.

Author
Monte Ohrt <monte at ohrt dot com>
Contributions from Lars Noschinski lars@.nosp@m.usen.nosp@m.et.no.nosp@m.schi.nosp@m.nski..nosp@m.de
Version
1.3
Parameters
string
Smarty
Here is the call graph for this function:

◆ smarty_outputfilter_trimwhitespace_replace()

smarty_outputfilter_trimwhitespace_replace (   $search_str,
  $replace,
$subject 
)
Here is the caller graph for this function: