[eluser]victorche[/eluser]
[quote author="gyo / suashi" date="1281364019"]Alright, sorry I didn't get your problem.
Just a quick thought... what about this?
Code:
$this->links = $this->general->get_links();
When you set $this->links inside MY_Controller, it will be available for all the controllers that extend it, the same way: $this->links.
Hope it helps![/quote]
Great ... but how should I call them in controllers?
Code:
// Like this:
$data = array(
'top_menu' => $links,
// ...
);
// Or like this:
$data = array(
'top_menu' => $this->links,
// ...
);