This method emulates PHP 5.3.9: is_a with allow_string == true
static public is_a ( $object, $class_name ) : true | ||
$object | can be an object or a string contining the class name | |
$class_name | the name of the class to compare | |
Résultat | true | if $object is an instance of $class_name |