[eluser]venugopal[/eluser]
Can you show me how do you implement this
My Model should be like this
----------------------------
Abstract_model extends Model
Derived_model_1 extends Abstract_model
Derived_model_2 extends Abstract_model
In my controller
----------------
$this->load->model('abstract_model',$config);
and I should be able to use
$this->abstract_base_class->function_in_derived_model_1();
or
$this->abstract_base_class->function_in_derived_model_2();
I wanted to achieve dynamic polymorphism here...Wondering how to do? May be you are right in questioning my programming capabilities