CodeIgniter Forums
calling method in parent class with php4 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: calling method in parent class with php4 (/showthread.php?tid=26624)



calling method in parent class with php4 - El Forum - 01-19-2010

[eluser]megabyte[/eluser]
I know how in php5 you can call a parent method like this:

Code:
function get()
{
return parent::get();
}

But how would you right this in php4?


calling method in parent class with php4 - El Forum - 01-19-2010

[eluser]Ben Edmunds[/eluser]
You can still call the parent method like that in PHP4.