include/Smarty/plugins/outputfilter.trimwhitespace.php

Show: inherited
    Table of Contents

    Smarty plugin

    Package
    Smarty  
    Subpackage
    plugins  

    Functions

    functionsmarty_outputfilter_trimwhitespace(  $source,  $smarty ) : void

    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 blocks.
    Install: Drop into the plugin directory, call

    $smarty->load_filter('output','trimwhitespace');
          from application.
    
    Parameters
    Name Type Description
    $source

    string

    $smarty

    Smarty

    Details
    Author
    Monte Ohrt  
    Author
    Contributions from Lars Noschinski  
    Version
    1.3  
    functionsmarty_outputfilter_trimwhitespace_replace(  $search_str,  $replace,  $subject ) : void

    Parameters
    Name Type Description
    $search_str
    $replace
    $subject
    Documentation was generated by DocBlox 0.18.1.