this is my problem. I'm using codeigniter and this is my structure. I have 2 classes in 2 files
class Model_setup extends CI_Model
{
//functions
// an update function
public function update()
{
// update stuff
}
}
// OTHER FILE
class Tests extends Model_setup
{
// other functions....
// a totally different update function
public function update()
{
// update a specific set of stuff
}
}
I want to know if and how it is possible to reference these two separate update functions. In a separate controller from these two, say the Places_Controller how would you tell the difference between these two class methods and how would you make sure that you are only using one or the other of the two updates? Thank you for the help in advance.
Model_setupobject, won't you have access to the parentupdate?