get_class
Returns the name of the class of an object
&reftitle.description;
stringget_class
objectobject
Gets the name of the class of the given object.
&reftitle.parameters;
object
The tested object
&reftitle.returnvalues;
Returns the name of the class of which object is an
instance. Returns &false; if object is not an
object.
&reftitle.changelog;
&Version;
&Description;
Since 5.0.0
The class name is returned in it's original notation.
Since 5.0.0
The object parameter is optional if called
from the object's method.
&reftitle.examples;
Using get_class
name();
?>
]]>
&example.outputs;
&reftitle.seealso;
get_parent_class
gettype
is_subclass_of