\patTemplate_Function_Strip

patTemplate function that strips whitespace from a text block. This is an implementation of Smarty's strip function.

$Id: Strip.php 205 2004-05-13 21:27:27Z schst $

Summary

Methods
Properties
Constants
setReader()
call()
getName()
setParams()
getParam()
$_reader
$type
$_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

$_reader

$_reader : object

reader object

Type

object

$type

$type : integer

function type

Type

integer

$_name

$_name : string

name of the function

Type

string

$_params

$_params : array

module parameters

Type

array

Methods

setReader()

setReader(  $reader) 

set the reference to the reader object

Parameters

$reader

call()

call(  $params,   $content) : string

call the function

Parameters

$params
$content

Returns

string —

content to insert into the template

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