PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
If I had a library of functions, and I included it into classname(). Would I be able to call the xyz() function of the library as if it was a function was written inside the class?
The file containing xyz() does not always exist and the current class is the parent to another classes, so the external library can't be parent or child.
Last edited by Cogs on Fri Apr 04, 2003 6:31 pm, edited 1 time in total.
<html><body><pre><?php
class CA
{
function funcA()
{
return true;
}
}
class CB extends CA
{
function funcB()
{
return true;
}
}
class CC extends CB
{
function funcC()
{
return true;
}
}
print_r(get_class_methods('CC'));
?></pre></body></html>