Документ взят из кэша поисковой машины. Адрес оригинального документа : http://old.master.cmc.msu.ru/php/function.get-class.html
Дата изменения: Sun Feb 3 22:35:19 2002
Дата индексирования: Tue Oct 2 03:44:53 2012
Кодировка:
get_class

get_class

(PHP 4 >= 4.0.0)

get_class -- Returns the name of the class of an object

Description

string get_class ( object obj)

This function returns the name of the class of which the object obj is an instance. Returns FALSE if obj is not an object.

Note: get_class() returns a user defined class name in lowercase. A class defined in a PHP extension is returned in its original notation.

See also get_parent_class(), get_type(), and is_subclass_of()