Re: [SMARTY] smarty vars inside functions
| From: | messju mohr | Date: | Tue, 08 Jul 2003 13:46:02 +0000 |
| Subject: | Re: [SMARTY] smarty vars inside functions | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9848@lists.php.net to get a copy of this message | ||
On Tue, Jul 08, 2003 at 09:44:55AM -0400, Matt Williams wrote:
>
> Afternoon all.
>
> I created a function to use within a template, what I need to be able to do is
> get access to a variable I assigned to smarty using $t->assign() within the
> function I created.
>
> Can this be done?
yes, see: http://smarty.php.net/manual/en/api.get.template.vars.php