class son extends parent {
...
public function func_name()
{
//do some additional stuff here
...
parent:func_name();
}
}
Но в parent
есть другой метод:
class parent {
...
public another_func()
{
$this->func_name();//how to stick to the one in parent here???
}
}
Пример:
$inst = new son;
$inst->another_func()////how to make the func_name within another_func stick to the one in parent???