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

Getting smarty vars from php code
Goto page Previous  1, 2
 
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 -> Feature Requests
View previous topic :: View next topic  
Author Message
messju
Administrator


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

PostPosted: Sun Apr 27, 2003 11:53 pm    Post subject: Reply with quote

okay, you wanted to test me, right? Smile

if i used :pserver:cvsread@cvs.php.net:/repository/php4
revision: HEAD.
that *is* php5, actually. (*feeling a bit less dumb now, phew*)

so, to pop the topic stack a bit (we're far from it's floor, though):
as i stated above: my "PHP 5.0.0-dev (cgi)" has no problems with either properties that have not been explicitly marked as public or with unknown/undefined properties.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Tom Sommer
Administrator


Joined: 16 Apr 2003
Posts: 47
Location: Denmark

PostPosted: Mon Apr 28, 2003 6:50 am    Post subject: Reply with quote

http://dk.php.net/anoncvs.php
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
boots
Administrator


Joined: 16 Apr 2003
Posts: 5611
Location: Toronto, Canada

PostPosted: Mon Apr 28, 2003 8:09 am    Post subject: Reply with quote

Quote:
no. $_tpl_vars is considered internal (as everything beginning with a "_").
he's looking for the documented $smarty->get_template_vars([varname])
(the varname is optional)


whoops. Sorry, sometimes I forget the most basic things. Don't do what donny don't does. Smile
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 -> Feature Requests All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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