RE: [SMARTY] Assign question
| From: | Peter Billen | Date: | Thu, 25 Sep 2003 17:32:22 +0000 |
| Subject: | RE: [SMARTY] Assign question | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10269@lists.php.net to get a copy of this message | ||
yes
-----Original Message-----
From: Erich C. Beyrent [mailto:erich.beyrent@beyrent.net]
Sent: donderdag 25 september 2003 19:29
To: smarty-general@lists.php.net
Subject: [SMARTY] Assign question
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
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php