You are here

abstract class HamlBaseFilter in Sassy 7

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

Hierarchy

Expanded class hierarchy of HamlBaseFilter

1 string reference to 'HamlBaseFilter'
HamlParser::getFilter in phamlp/haml/HamlParser.php
* Gets a filter. * Filters are loaded on first use. *

File

phamlp/haml/filters/HamlBaseFilter.php, line 18

View source
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);

}

Members

Namesort descending Modifiers Type Description Overrides
HamlBaseFilter::init public function * Initialise the filter. 2
HamlBaseFilter::run abstract public function * Run the filter. * This method must be overridden in child classes. * 11