Source for file Filter.class.php
Documentation is available at Filter.class.php
* Gumbo Library Framework
* This library is being released under the terms of the New BSD License. A
* copy of the license is packaged with the software (LICENSE.txt). If no
* copy is found, a copy of the license template can be found at:
* http://www.opensource.org/licenses/bsd-license.php
* @copyright Copyright (c) 2007, iBayou, Michael Luster
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @author Michael Luster <mluster79@yahoo.com>
* @link http://sourceforge.net/projects/phpgumbo
* A Filter is responsible for removing certain parts of supplied data, returning
* the changed data. The Library provides a Blank Filter. This will simply
* return the data as it's passed.
* A single Filter will be responsible for performing a specific Filtering task. If
* data needs to remove HTML tags, then use the Filter_Tags class. The Library
* provides a default set of Filters, however more can be created. Simply create
* a class that implements the Filter Interface. If adding to the Library, place
* the Filter inside the 'gumbo/filter/*' directory, supplying a unique name.
* @copyright Copyright (c) 2007, iBayou, Michael Luster
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @author Michael Luster <mluster79@yahoo.com>
* @link http://sourceforge.net/projects/phpgumbo
* Runs the Filter process, returning the results
* @param mixed $data data to filter
public function run ($data);