5 * Abstract Savant3_Filter class.
9 * @author Paul M. Jones <pmjones@ciaweb.net>
11 * @license http://www.gnu.org/copyleft/lesser.html LGPL
13 * @version $Id: Filter.php,v 1.5 2005/04/29 16:23:50 pmjones Exp $
19 * Abstract Savant3_Filter class.
21 * You have to extend this class for it to be useful; e.g., "class
22 * Savant3_Filter_example extends Savant3_Filter".
26 * @author Paul M. Jones <pmjones@ciaweb.net>
30 abstract class Savant3_Filter
35 * Optional reference to the calling Savant object.
42 protected $Savant = null;
51 * An array of configuration keys and values for
57 public function __construct($conf = null)
59 settype($conf, 'array');
60 foreach ($conf as $key => $val) {
67 * Stub method for extended behaviors.
72 * The text buffer to filter.
74 * @return string The text buffer after it has been filtered.
77 public static function filter($text)