PHP Manual: class_parents
class_parents
Description
array class_parents ( mixed class [, bool autoload] )
This function returns an array with the name of the parent classes of
the given class
.
Parameters
class
An object (class instance) or a string (class name).
autoload
Whether to allow this function to load the class automatically through the __autoload magic method. Defaults to TRUE.
Examples