(PHP 5)
This function returns an array with the name of the parent classes of the given class.
An object or a string of the class
Returns an array or FALSE on error.
Example 1. class_parents() example
<?php class foo { } class bar extends foo {} print_r(class_parents(new bar)); ?>
The above example will output:
Array ( [foo] => foo )
Official PHP Documentation in PHP-Nuke module form by Chris Karakas