Dud commit.
[xhtml-compiler.git] / XHTMLCompiler / TextFilter.php
blob37dbd4cddf340fa56fd8235efed8d25c46838a76
1 <?php
3 /**
4 * Represents a filter that performs processing on documents. Read-only.
5 */
6 abstract class XHTMLCompiler_TextFilter extends XHTMLCompiler_Filter
9 /**
10 * Defines a filter that processes string text.
11 * @param $text String text to process
12 * @param $page XHTMLCompiler_Page object representing the context
13 * @return Processed string text
14 * @note These filters should be used sparingly, only when a DOM
15 * solution would not work.
17 abstract public function process($text, $page);