View Single Post
  #1 (permalink)  
Old 06-17-2008, 09:06 AM
Daniel B Daniel B is offline
Junior Member
 
Join Date: Jun 2008
Posts: 2
Default using function from a controller in an other controller

Hello,

I have a question about using an function from one controller in to an other controller. Lets say i have a productController with the method getProductInfo and i have an userController. Now i want to get all the info for the users products so i want to use the function getProductInfo from the productController but i'm in the userController...

I've tried to make an new productController then i get a error from the __construct..

I just want to use one function from a other controller in to my userController.. Can somebody help me?

Thanks and regards!!

Last edited by Daniel B : 06-17-2008 at 01:34 PM.
Reply With Quote