Re: [SMARTY-DEV] RE: parser syntax change
| From: | Monte Ohrt | Date: | Thu, 19 Dec 2002 00:18:05 +0000 |
| Subject: | Re: [SMARTY-DEV] RE: parser syntax change | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-450@lists.php.net to get a copy of this message | ||
No... currently the assigned template variables are extracted into PHP
name space upon a fetch() or display(). This was done basically so the
embedded variables in function params would work:
{myfunc file="$foo/$bar.tpl"}
Now we handle this differently, and no extraction is required. The
variables are assigned to the template in thier own namespace, and they
are referenced as such.
Monte
On Wed, 2002-12-18 at 16:58, Gerard wrote:
> > Since the removal of exporting assigned variables.
>
> What exactly was that? PHP globals or something?
>
> Gerard
--
Monte Ohrt <monte@ispi.net>