[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.