Re: [SMARTY] assigned variable namespace updates
| From: | Rasmus Schultz | Date: | Thu, 12 Dec 2002 17:56:27 +0000 |
| Subject: | Re: [SMARTY] assigned variable namespace updates | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6776@lists.php.net to get a copy of this message | ||
>As a consequence, there aren't issues with variable clashing in PHP
>namespace with assigned variables. We have to be careful with this,
>hopefully no one is using variables in a template that are not
>explicitly assigned. If you are, they won't show up anymore!
can you give an example of what it is we shouldn't do?
I always just $smarty->assign("data",$data) - that's the correct way
to do it, right? as long as you're not doing other weird things,
that should still work?