Sha256: e853e19d3ce84918f7bdc3d4acd38db5cdf8f1205ace4574dc48130729151300
Contents?: true
Size: 749 Bytes
Versions: 3
Compression:
Stored size: 749 Bytes
Contents
<?php /* SVN FILE: $Id: HamlPhpFilter.php 49 2010-04-04 10:51:24Z chris.l.yates $ */ /** * PHP 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 */ /** * PHP Filter for {@link http://haml-lang.com/ Haml} class. * The text will be parsed with the PHP interpreter. * @package PHamlP * @subpackage Haml.filters */ 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"; } }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
frontsau-0.0.3 | lib/Phamlp/haml/filters/HamlPhpFilter.php |
frontsau-0.0.2 | lib/Phamlp/haml/filters/HamlPhpFilter.php |
frontsau-0.0.1 | lib/Phamlp/haml/filters/HamlPhpFilter.php |