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

Procedural File: modifier.strip.php

Source Location: /smarty/plugins/modifier.strip.php



Page Details:

Smarty plugin









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




Tags:

author:  Monte Ohrt <at ohrt dot com monte at ohrt dot com>
version:  1.0
link:  strip (Smarty online manual)


Parameters

string   $text  
string   $replace  
[ Top ]



Documentation generated on Sun, 08 Jan 2012 17:51:54 +0100 by phpDocumentor 1.4.3