get_parent_class

(PHP 4 )

get_parent_class -- Pobiera nazwΩ klasy przodka obiektu b▒d╝ klasy

Opis

string get_parent_class ( mixed obiekt)

Je┐eli obiekt jest obiektem, zwraca nazwΩ klasy przodka klasy kt≤rej obiekt jest egzemplarzem.

Je┐eli obiekt jest ci▒giem znakowym, zwraca nazwΩ klasy przodka klasy o tej nazwie. Ta funkcjonalno╢µ zosta│a dodana w PHP 4.0.5.

Patrz tak┐e: get_class(), is_subclass_of()