Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
General
how to send parameter in hmvc
Gaurish
February 2014
i am trying to send parameter in to other controller , as given below
$widget = Request::forge('admin/Superadmin/home/addadminfunct', false)->execute(array('test'=>'apple'));
$view =$widget;
but i have no idea how to get the given parameter at other side of the controller i.e over here it is
controller-
home and function-
addadminfunct ,
how to hetch over here as ???
Harro
February 2014
For parameters in the URI. it works the same as for requests from the browser: you access them via the method arguments.
For parameters passed through execute(), you access them in the controller method via $this->param().
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,088
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
260
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
Harro
February 2014