Ok.
Lets say I have.
class a {
// methods and stuff
}
class b extends a {
// methods and stuff
}
Now when I want to call a method from class a, I need to initialize it with $a = new a; And then I can call methods by $a->somemethod(); Same goes for class b. BUT I want to be able to call all methods from class b the same way I call them with class a. So if I have 100000 classes that extend class a, I can call each of them like this $a->blabla();
Do you copy?
In the picter is what will I get with get_class_methods()h, where I have three classes that extend the main class. And as you can see when it ends (foreach loop), I get only methods from the last class.
I hope you understand it now.