Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Change _tpl_vars['data']

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty Development
View previous topic :: View next topic  
Author Message
fernandola
Smarty n00b


Joined: 13 Feb 2004
Posts: 2

PostPosted: Fri Feb 13, 2004 12:37 pm    Post subject: Change _tpl_vars['data'] Reply with quote

How can i change _tpl_vars['data'] from php code, anyone can help me please?
Back to top
View user's profile Send private message
messju
Administrator


Joined: 16 Apr 2003
Posts: 3336
Location: Oldenburg, Germany

PostPosted: Fri Feb 13, 2004 12:52 pm    Post subject: Reply with quote

[php:1:6e4da60ea2]$data =& $smarty->get_template_vars['data']; /* obtain a reference
to the variable */
$data = // anything-you-like
[/php:1:6e4da60ea2]

have fun
messju
Back to top
View user's profile Send private message Send e-mail Visit poster's website
fernandola
Smarty n00b


Joined: 13 Feb 2004
Posts: 2

PostPosted: Mon Feb 16, 2004 7:47 am    Post subject: Reply with quote

Vielen Dank. Wink
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP