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 ? Quote 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(); Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.