Guys before few days I went for interview,and interviewer asked me a question,which is still only question and I could not find its answer.
To Load a Model In Codeigniter
we do,
$this->load->model('xyz_model');
then magically
$this->xyz_model->function_of_xyz_model();
Above line lets us access function of 'xyz_model'
named'function_of_xyz_model'
How it all happen,which game is played under the carpet to do all above. As I'm not well experienced in OPP so please point out the concepts(if any) used inside.