Function get_list() for codeigniter v2 |
I'm new into CodeIgniter so I have more questions about it. In my controller I have this:
public function __construct() { parent::__construct(); $this->load->model('db/m_class_model', 'class'); $this->load->model('db/m_course_model', 'course'); $this->load->library('form_validation'); $this->load->library("pagination"); $this->load->library('user_agent'); $this->load->model('db/m_item_model', 'm_item_model'); } public function index() { if ($this->error_flg) return; try { $pagin['total_rows'] = count($this->class->get_list()); } catch (Exception $e) { $this->_show_error($e->getMessage(), $e->getTraceAsString()); } } My question is I can't find this function "get_list()" inside the model "m_class_model". Is this a built-in function of CodeIgniter? because I've search inside its documentation and I can't find that function. Enlighten me about this one. Any help will do.
I found this not sure if it will help.
How to get list with conditional in CodeIgniter? What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(07-03-2019, 04:29 AM)InsiteFX Wrote: I found this not sure if it will help. Thanks for the Info.
Check in your ./application/helpers directory, look in the helpers.
It may be a helper method. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |