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

smarty public class vars

 
Post new topic   Reply to topic    Smarty Forum Index -> Smarty Development
View previous topic :: View next topic  
Author Message
atu
Smarty Regular


Joined: 18 Apr 2003
Posts: 51
Location: Luxembourg

PostPosted: Thu May 13, 2004 3:28 pm    Post subject: smarty public class vars Reply with quote

Hi,
When writing custom plugins it is some times necessary to access variables of the smarty class from within templates.
Example:
{php}
$x = $this->_tpl_vars['xyz'];
{/php}

In the scope of php 5 it would be nice to make them public accessible.

Greetings,
atur
Back to top
View user's profile Send private message Visit poster's website
electr0`n
Guest





PostPosted: Fri May 14, 2004 11:16 am    Post subject: Reply with quote

Is a php5 Version of smarty planned?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    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