Add range support. Tag {for} now deprecated

This commit is contained in:
bzick
2015-02-12 12:13:35 +03:00
parent a9b9c89f88
commit ed860a49cb
10 changed files with 191 additions and 57 deletions

View File

@@ -7,6 +7,6 @@ require_once __DIR__.'/../tests/tools.php';
$fenom = Fenom::factory(__DIR__.'/templates', __DIR__.'/compiled');
$fenom->setOptions(Fenom::AUTO_RELOAD);
var_dump($fenom->compile("blocks/second.tpl", false)->getBody());
var_dump($fenom->compileCode('{$b == 5 ? "5" : "?"}')->getBody());
//$fenom->display("blocks/second.tpl", []);
// $fenom->getTemplate("problem.tpl");