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

passing parameters using tinymvc

 
Post new topic   Reply to topic    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:   
Post new topic   Reply to topic    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