Re: [SMARTY] Accessing Assigned Variables
| From: | Darryl Bleau | Date: | Fri, 31 Jan 2003 20:12:10 +0000 |
| Subject: | Re: [SMARTY] Accessing Assigned Variables | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7442@lists.php.net to get a copy of this message | ||
Ah I just have the mailing list bookmarked... (http://news.php.net/group.php?group=php.smarty.general)
Thanks for pointing me in the right direction Peter.
Peter Billen wrote:
http://smarty.php.net, top right: search for ....... [ manual / general mailing list / development mailing list ] Peter -----Original Message----- From: Darryl Bleau [mailto:darrylbleau@submersion.com] Sent: vrijdag 31 januari 2003 21:07 To: Smarty (E-mail) Subject: Re: [SMARTY] Accessing Assigned Variables Nice! Is this linked on the Smarty page someplace and I missed it? Also, I'm using $smarty->_tpl_vars['var1'] until I can figure a better way. Peter Billen wrote:It is, http://marc.theaimsgroup.com/?l=smarty-general&w=2&r=1&q=b&s=search+herePeter -----Original Message----- From: Darryl Bleau [mailto:darrylbleau@submersion.com] Sent: vrijdag 31 januari 2003 20:44 To: Smarty (E-mail) Subject: [SMARTY] Accessing Assigned Variables I know I saw this in the mailing list someplace, but I can't find it. (It would be nice if the mailing list archive were searchable! :) ). in my php: $smarty->assign("var1","data"); then later, I want to do something like this: if ($smarty.variables.var1 == "data") ... possible?