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
- class \HamlBaseFilter
- class \HamlPhpFilter
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
HamlBaseFilter:: |
public | function | * Initialise the filter. | 2 |
HamlPhpFilter:: |
public | function |
* Run the filter
* Overrides HamlBaseFilter:: |