ThinkPHP/Library/Vendor/Smarty/pluginsmodifiercompiler.strip.php

Smarty plugin

Functions

smarty_modifiercompiler_strip()

smarty_modifiercompiler_strip(array  $params,   $compiler) : string

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

array $params

parameters

$compiler

Returns

string —

with compiled code