Smarty and object support
| From: | Monte Ohrt | Date: | Mon, 16 Dec 2002 19:51:36 +0000 |
| Subject: | Smarty and object support | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-423@lists.php.net to get a copy of this message | ||
I committed to CVS, this syntax is now allowed:
{$foo->bar('blah')}
{include file=$foo->bar('blah')}
{include file=$foo->bar->bar2->bar3->bar4('blah')}
You can also embed template vars:
{$foo->bar("you $foo")}
{include file=$foo->bar("this is $my var")}
Please help test this, it affects many core components.
Monte