Problem passing data to my library from controller to run common functions |
[eluser]MasterHernan[/eluser]
Your banner code: Code: class Banner { Fixed code: Code: class Banner { You were sending the array to the function and the function was receiving it as a private function variable, the object variable that you are looking for was not defined. You don't need to pass the $params again if you grab them in the __construct function and save it to the object since you are submitting it when you call the library. For more information check out: http://ellislab.com/codeigniter/user-gui...aries.html #Passing Parameters When Initializing Your Class |
Messages In This Thread |
Problem passing data to my library from controller to run common functions - by El Forum - 09-27-2012, 06:47 PM
Problem passing data to my library from controller to run common functions - by El Forum - 09-27-2012, 09:25 PM
|