Документ взят из кэша поисковой машины. Адрес оригинального документа : http://oit.cmc.msu.ru/php/function.get-parent-class.html
Дата изменения: Sun Feb 3 22:35:22 2002
Дата индексирования: Mon Oct 1 22:06:46 2012
Кодировка:
get_parent_class

get_parent_class

(PHP 4 >= 4.0.0)

get_parent_class -- Retrieves the parent class name for object or class

Description

string get_parent_class ( mixed obj)

If obj is an object, returns the name of the parent class of the class of which obj is an instance.

If obj is a string, returns the name of the parent class of the class with that name. This functionality was added in PHP 4.0.5.

See also get_class() and is_subclass_of()