On Fri, 30 May 2008 17:36:34 +0100, Anton Andrievskij <[EMAIL PROTECTED]> wrote:

1. But then php will check if real "products" variable exists but not
tal-object's product property?

PHPTAL rewrites code in php: expressions to use TAL variables, so it will work fine.

php:isset(var) is equivalent to exists:var (but not in more complex case of exists:var/prop - then you're out of luck ;)

2. Why it is bad idea to have some logical operands in PHPTAL then?

It isn't. It's a bit of syntax that's missing from "plain" TAL.

regards, Kornel

PHPTAL mailing list

Reply via email to