Menu Riverview Church

GET_CALLED_CLASS

The "Late Static Binding" class name

SYNTAX

get_called_class ( void ) : string

RETURN

Returns the class name. Returns FALSE if called from outside a class.

EXAMPLES

myclass1
myclass2

PHP