Friday 16 June 2006 4:02:23 pm
Hey,
I think the ez template engine has much to learn from smarty template engine. For those of us who has used smarty we all know how logical and straight forward it is, I really appreciate the php like feel of it. Take this for example: Smarty
{if $foo_bar == 1 and $bar_foo == 1}
...
{/if}
eZ
{if and($foo_bar|eq(1), $bar_foo|eq(1))}
...
{/if}
That said, the ez template engine is very powerful indeed and I like it almost as much as Smarty... =) Anyway, is there anyway to reveal all variables passed on to the template engine? The {$my_object|attribute(show, 2)}
is nice to explore the system, but you got to know the name of the var you want to explore. And but of course, the doc/reference/objects are very handy, but still... In Smarty debug all variables passed to the template engine is shown in a list. Is there some kind of debug setting for this? Regards,
. muusle
|