HamlBaseFilter.php in Sassy 7
File
phamlp/haml/filters/HamlBaseFilter.phpView source
<?php
/* SVN FILE: $Id$ */
/**
* Base Filter for {@link http://haml-lang.com/ Haml} class file.
* @author Chris Yates <chris.l.yates@gmail.com>
* @copyright Copyright (c) 2010 PBM Web Development
* @license http://phamlp.googlecode.com/files/license.txt
* @package PHamlP
* @subpackage Haml.filters
*/
/**
* Base Filter for {@link http://haml-lang.com/ Haml} class.
* This class must be extended and the run() method overridden.
* @package PHamlP
* @subpackage Haml.filters
*/
abstract class HamlBaseFilter {
/**
* Initialise the filter.
*/
public function init() {
}
/**
* Run the filter.
* This method must be overridden in child classes.
* @param string text to filter
*/
public abstract function run($text);
}
Classes
Name | Description |
---|---|
HamlBaseFilter | Base Filter for {@link http://haml-lang.com/ Haml} class. This class must be extended and the run() method overridden. @package PHamlP @subpackage Haml.filters |