Menu
I am not being able to do this… is there any way ?
[code=php]
<?php
class one{
function one_(){
return “this is one”;
}
}
class two extends one{
function two_(){
return $this->one_();
}
class three extends two{
function three_(){
return $this_>two_();
}
}
// assume there’s class four which extends class three n like wise
$objThree = new three;
// here’s my problem
// error : Call to undefined method three::two_()
echo $objThree->three_();
}
?>