How to get data in function extend controller? June 4, 2023 by Tarik The solution to this problem is to just use this: $this->load->model('notification_model'); $this->get_notification();