\patTemplate_OutputFilter_StripWhitespace

patTemplate StripWhitespace output filter

$Id: StripWhitespace.php 417 2005-09-16 12:04:11Z schst $

Will remove all whitespace and replace it with a single space.

Summary

Methods
Properties
Constants
apply()
getName()
setParams()
getParam()
$_name
$_params
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$_name

$_name : string

filter name

Type

string

$_params

$_params : array

module parameters

Type

array

Methods

apply()

apply(  $data) : string

remove all whitespace from the output

Parameters

$data

Returns

string —

data without whitespace

getName()

getName() : string

get the name of the module

Returns

string —

name of the module

setParams()

setParams(  $params,   $clear = false) 

sets parameters of the module

Parameters

$params
$clear

getParam()

getParam(  $name) : mixed

gets a parameter of the module

Parameters

$name

Returns

mixed —

value of the parameter