I have model
BaseUser.class.php
User.class.php
UserTable.class.php
In user Class I have been override the delete function
I think you are looking for the PHP parent functions:
\n";
}
}
class B extends A {
function example() {
echo "I am B::example() and provide additional functionality.
\n";
parent::example();
}
}
$b = new B;
// This will call B::example(), which will in turn call A::example().
$b->example();
?>
If your class doesn't have a function called getMyFunction() calling $b->getMyFuction()
will call the parent function. If it does, it will call the child function, unless the child function calls the prent function.