Re: [SMARTY] Assign question
| From: | Wom.bat | Date: | Thu, 25 Sep 2003 19:05:32 +0000 |
| Subject: | Re: [SMARTY] Assign question | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10270@lists.php.net to get a copy of this message | ||
err... why don't you just TRY it? of course this is possible, and that issue
has nothing to do with Smarty, it's just very, very basic PHP...
David
On Thursday, September 25, 2003 7:28 PM +0200, Erich C. Beyrent wrote:
> Hi all,
>
> This may be a basic and stupid question, but is it possible to assign
> the return value of a function to a smarty template like this:
>
> $smarty->assign("data", $class->getData());
>
> Thanks!
>
> Erich C. Beyrent
> Beyrent Web Design