Re: Re[2]: Passing in objects by reference (Pull approach w/ Smarty)
| From: | Monte Ohrt | Date: | Fri, 06 Jul 2001 16:11:48 +0000 |
| Subject: | Re: Re[2]: Passing in objects by reference (Pull approach w/ Smarty) | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1131@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
>
> On Fri, 06 Jul 2001, Monte Ohrt wrote:
> > In your example:
> >
> > {php}
> > $tickers->fetch("YHOO");
> > {/php}
> >
> > It is not a template variable, and doesn't need to be.
>
> Yes, it does. How else is it going to be available to the Smarty?
>
Ok, $tickers->fetch("YHOO") is a PHP variable that may have been
extracted from an assigned template variable. I see what you mean.