PregFilter Class Reference

Filter to transform a string to all Preg. More...

List of all members.

Public Member Functions

 __construct ($regexp, $replace)
 Constructor.
 filter ($value)
 Applies the PregFilter to the passed value.

Protected Attributes

 $regexp
 $replace


Detailed Description

Filter to transform a string to all Preg.

Definition at line 28 of file pregfilter.lib.php.


Constructor & Destructor Documentation

PregFilter::__construct ( regexp,
replace 
)

Constructor.

Parameters:
$regexp The regular expression. This is the first argument to preg_replace.
$replace The replacement value. This is the second argument to preg_replace.

Definition at line 41 of file pregfilter.lib.php.


Member Function Documentation

PregFilter::filter ( value  ) 

Applies the PregFilter to the passed value.

Parameters:
$value The value to filter.
Returns:
The string filtered through preg_replace.

Reimplemented from Filter.

Definition at line 56 of file pregfilter.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