phpDocumentor Smarty
plugins
[ class tree: Smarty ] [ index: Smarty ] [ all elements ]

Procedural File: outputfilter.trimwhitespace.php

Source Location: /phpDocumentor/Smarty-2.6.0/libs/plugins/outputfilter.trimwhitespace.php

Page Details

Smarty plugin

Functions
smarty_outputfilter_trimwhitespace  [line 28]

void smarty_outputfilter_trimwhitespace( string $source, Smarty &$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 <<PRE>></PRE> and <SCRIPT></SCRIPT> blocks.
Install: Drop into the plugin directory, call

  1. $smarty->load_filter('output','trimwhitespace');
from application.

Parameters:
string   $source: 
Smarty   &$smarty: 

Information Tags:
Author:  Contributions from Lars Noschinski <lars@usenet.noschinski.de>
Author:  Monte Ohrt <monte@ispi.net>
Version:  1.3

[ Top ]
smarty_outputfilter_trimwhitespace_replace  [line 64]

void smarty_outputfilter_trimwhitespace_replace( $search_str, $replace, &$subject  )
Parameters:
   $search_str: 
   $replace: 
   &$subject: 


[ Top ]


Documentation generated on Sat, 05 Sep 2009 16:44:19 -0500 by phpDocumentor 1.4.3