Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
function eval

 
Post new topic   Reply to topic    Smarty Forum Index -> Feature Requests
View previous topic :: View next topic  
Author Message
epifrin
Smarty n00b


Joined: 30 Nov 2011
Posts: 1

PostPosted: Wed Mar 21, 2012 10:52 am    Post subject: function eval Reply with quote

Please create a function

$smarty->eval(string var);
var - Variable (or string) to evaluate

similar {eval}
Back to top
View user's profile Send private message
douglassdavis
Smarty Junkie


Joined: 21 Jan 2008
Posts: 541

PostPosted: Wed Mar 21, 2012 11:51 am    Post subject: Re: function eval Reply with quote

epifrin wrote:
Please create a function

$smarty->eval(string var);
var - Variable (or string) to evaluate

similar {eval}


you mean like:

http://www.smarty.net/docs/en/resources.string.tpl
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Feature Requests 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