KRISTOFFER BOHMANN
[BETA]
Forside
Om KB
Kompetencer
Referencer
Classes/Objects
call_user_method
call_user_method_array
class_alias
class_exists
get_called_class
get_class
get_class_methods
get_class_vars
get_declared_classes
get_declared_interfaces
get_object_vars
get_parent_class
interface_exists
is_a
is_subclass_of
method_exists
property_exists
Home
>
PHP
>
Function
>
Classes/Objects
>
get_parent_class()
get_parent_class()
get_parent_class - Retrieves the parent class name for object or class
Syntax
string
get_parent_class
(
mixed
$object)
Arguments
object - The tested object or class name
Description
Retrieves the parent class name for object or class.
Version
PHP 4, 5
Return value
Returns the name of the parent class of the class of which object is an instance or the name.