StripWhitespaceFilter Class Reference

Filter to strip leading and trailing whitespace. More...

List of all members.

Public Member Functions

 init ($leading=true, $trailing=true)
 Initializes the StripWhitespaceFilter.
 filter ($value)
 Filters the passed value.


Detailed Description

Filter to strip leading and trailing whitespace.

Definition at line 30 of file stripwhitespacefilter.lib.php.


Member Function Documentation

StripWhitespaceFilter::init ( leading = true,
trailing = true 
)

Initializes the StripWhitespaceFilter.

Parameters:
$leading Whether to strip leading whitespace (optional, defaults to true).
$trailing Whether to strip trailing whitespace (optional, defaults to true).

Definition at line 40 of file stripwhitespacefilter.lib.php.

StripWhitespaceFilter::filter ( value  ) 

Filters the passed value.

Parameters:
$value The value to filter.
Returns:
The filtered value.

Reimplemented from Filter.

Definition at line 58 of file stripwhitespacefilter.lib.php.


The documentation for this class was generated from the following file:

Generated on Sun Aug 2 22:54:38 2009 for Anewt by  doxygen 1.5.9