Welcome Guest, Not a member yet? Register   Sign In
Custom Base Classes (Controllers) (CI 2.0)
#11

[eluser]renathy[/eluser]
I have solved my problem...
The problem was not to load library in base controler or to autoload.
The cause of my problem was that I didn't know that $data variable is somehow "globaly" seen in base controle and in or controlers extended from base controler (say MyPage extended BaseController).
So I didn't know that if writing $data['menu'] = generete_menu() in base controller I can use this $data['menu'] in my MyPage controller.

R.




Theme © iAndrew 2016 - Forum software by © MyBB