Location: PHPKode > scripts > phpHaml > phphaml-1.0RC1/phpHaml/example4.php
<?php
/**
 * Text blocks example
 *
 * @author Amadeusz Jasak <hide@address.com>
 * @package phpHaml
 * @subpackage Examples
 */

require_once './includes/haml/HamlParser.class.php';

$parser = new HamlParser('./tpl', './tmp/haml');
$parser->registerBlock('md5', 'md5');

echo $parser->setFile('example4.haml');

?>
Return current item: phpHaml