HMVC the right way ?! |
(06-01-2015, 10:49 AM)RogerMore Wrote: And how does that work? When you load a library, you can pass an array of parameters to the library's constructor: Code: $this->load->library('libraryName', array('param1' => $data1, 'param2' => $data2)); Alternatively, you can just pass the data to the library's methods when you use them. |
Welcome Guest, Not a member yet? Register Sign In |