is_a
Checks whether the object is of a given type or subtype
&reftitle.description;
boolis_a
mixedobject_or_class
stringclass
boolallow_string&false;
Checks if the given object_or_class is of this object type or has
this class as one of its parents.
&reftitle.parameters;
object_or_class
A class name or an object instance.
class
The class or interface name
allow_string
If this parameter set to &false;, string class name as object_or_class
is not allowed. This also prevents from calling autoloader if the class doesn't exist.
&reftitle.returnvalues;
Returns &true; if the object is of this class or has this class as one of
its parents, &false; otherwise.
&reftitle.examples;
is_a example
]]>
Using the instanceof operator
]]>
&reftitle.seealso;
get_class
get_parent_class
is_subclass_of