jd2007 Posted August 16, 2007 Share Posted August 16, 2007 if i access a function of a class, i do this : $x=new Class; $x->function(); how do access a function of a parent class ?..let's say, class "Class" has a parent class "Parent" and "Parent" has a function n(). how to access n() from Class above ? Link to comment https://forums.phpfreaks.com/topic/65235-how-to-access-a-function-of-a-parent-class/ Share on other sites More sharing options...
trq Posted August 16, 2007 Share Posted August 16, 2007 $x->n(); Link to comment https://forums.phpfreaks.com/topic/65235-how-to-access-a-function-of-a-parent-class/#findComment-325769 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.