You are here

class HamlPhpFilter in Sassy 7

PHP Filter for {@link http://haml-lang.com/ Haml} class. The text will be parsed with the PHP interpreter. @package PHamlP @subpackage Haml.filters

Hierarchy

Expanded class hierarchy of HamlPhpFilter

File

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

View source
class HamlPhpFilter extends HamlBaseFilter {

  /**
   * Run the filter
   * @param string text to filter
   * @return string filtered text
   */
  public function run($text) {
    return "<?php\n{$text}?>\n";
  }

}

Members

Namesort descending Modifiers Type Description Overrides
HamlBaseFilter::init public function * Initialise the filter. 2
HamlPhpFilter::run public function * Run the filter * Overrides HamlBaseFilter::run