Add XHTMLCompiler_Page->getAbsolutePath() for convenient internal links.
[xhtml-compiler.git] / XHTMLCompiler / TextFilter.php
blobf9be7cdb74189bd74e908073ef55946f0f6234b0
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 * @param $manager Currently running XHTMLCompiler_FilterManager
14 * @return Processed string text
15 * @note These filters should be used sparingly, only when a DOM
16 * solution would not work.
18 abstract public function process($text, $page, $manager);