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

Procedural File: modifier.strip.php

Source Location: /phpDocumentor/Smarty-2.6.0/libs/plugins/modifier.strip.php

Page Details

Smarty plugin

Filesource:  Source Code for this file
Functions
smarty_modifier_strip  [line 26]

string smarty_modifier_strip( string $text, [string $replace = ' ']  )

Smarty strip modifier plugin

Type: modifier
Name: strip
Purpose: Replace all repeated spaces, newlines, tabs with a single space or supplied replacement string.
Example: {$var|strip} {$var|strip:" "} Date: September 25th, 2002

Parameters:
string   $text: 
string   $replace: 

Information Tags:
Version:  1.0
Author:  Monte Ohrt <[email protected]>
Link:  http://smarty.php.net/manual/en/language.modifier.strip.php strip (Smarty online manual)

[ Top ]


Documentation generated on Tue, 24 Oct 2006 09:24:04 -0500 by phpDocumentor 1.3.1