get_parent_class
Retrieves the parent class name for object or class
&reftitle.description;
stringget_parent_class
mixedobject
Retrieves the parent class name for object or class.
&reftitle.parameters;
object
The tested object or class name
&reftitle.returnvalues;
Returns the name of the parent class of the class of which
object is an instance or the name.
If the object does not have a parent &false; will be returned.
If called without parameter outside object, this function returns &false;.
&reftitle.changelog;
&Version;
&Description;
Before 5.1.0
If called without parameter outside object, this function would have
returned &null; with a warning.
Since 5.0.0
The object parameter is optional if called
from the object's method.
Since 4.0.5
If object is a string, returns the name of the
parent class of the class with that name.
&reftitle.examples;
Using get_parent_class
]]>
&example.outputs;
&reftitle.seealso;
get_class
is_subclass_of