I have the Smarty code
{$obj->foo()->bar()}
and Smarty complains about 'unrecognized tag' in the expression. If I change it to just
{$obj->foo()}
it doesn't complain, so I assume the problem is with the fact that I'm calling a method on the result of a method. Is this a limitation of Smarty's parser, or am I missing something else here?
I know I can work around this with {assign}
, I just wanted to know if I'd understood the extent of the limitations correctly.