On 12-01-2009 at 18:00:40 Trent Moyer <tmo...@symons.com> wrote:

Is there a function similar to phptal_tales() that only returns the "active", non-error, item in a sequence like (var/one | var/two | nothing)?

phptal_tale() is supposed to do that.

I would have
thought that a function like this would be used internally at least.

Unfortunately internally it's more complex and PHPTAL uses TalesChainExecutor 
class. It's not possible to use it in expression modifiers.

regards, Kornel

PHPTAL mailing list

Reply via email to