Re: [SMARTY-DEV] Re: Incompatibility to older versions again
| From: | Monte Ohrt | Date: | Tue, 18 Feb 2003 19:00:17 +0000 |
| Subject: | Re: [SMARTY-DEV] Re: Incompatibility to older versions again | ||
| References: | 1 | Groups: | php.smarty.dev php.smarty.general |
| Request: | Send a blank email to php-smarty-dev+get-723@lists.php.net to get a copy of this message | ||
It seems to work for me?
{$foo->bar[foobar]->foo}
{$foo->bar[foobar].foo[foobar2]}
compiles to:
<?php echo
$this->_tpl_vars['foo']->bar[$this->_sections['foobar']['index']]->foo;
?>
<?php echo
$this->_tpl_vars['foo']->bar[$this->_sections['foobar']['index']]['foo'][$this->_sections['foobar2']['index']];
?>
On Tue, 2003-02-18 at 12:32, Rainer Collet wrote:
> > After your last CVS-Commit now it works, thanks, but I have
> > another one :-((
> >
> > {$obj->obj_array[index]->prop} (in sections)
> >
> > Still does not work.
>
> And again I found something:
>
> {$obj->array[index1].index2[index3]}
>
> Sorry that I come out so slowly with this ;-)
--
Monte Ohrt <monte@ispi.net>