4 * Represents a filter that performs processing on documents. Read-only.
6 abstract class XHTMLCompiler_Filter
10 * Unique, human-readable identifier for the filter
14 /** Returns the name of the filter */
15 public function getName() {return $this->name
;}
18 * @param $name Overloading name. If you have to filters that have
19 * the same name, you can simple override the name of one of
20 * them to let them peacefully coexist.
22 public function __construct($name = false) {
23 if (empty($this->name
)) throw new Exception('Filter '.__CLASS__
.' must have a name');
24 if ($name) $this->name
= $name;