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

passing parameters using tinymvc

 
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 -> Frameworks
View previous topic :: View next topic  
Author Message
bfox
Smarty n00b


Joined: 14 Apr 2010
Posts: 1

PostPosted: Wed Apr 14, 2010 1:08 pm    Post subject: passing parameters using tinymvc Reply with quote

When passing additional parameters to the controller through the url, ie /controller/function/param1

How do I access the parameter within the controller? When I employ this code I get "TinyMVC Error: Missing argument 1 for ..."

Code:

function foo($bar) {
...
}
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 -> Frameworks 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