ReflectionClass::isSubclassOf
(PHP 5)
ReflectionClass::isSubclassOf — Checks if a subclass
Beschreibung
public bool ReflectionClass::isSubclassOf
( string
$class
)Checks if the class is a subclass of a specified class or implements a specified interface.
Parameter-Liste
-
class -
The class name being checked against.
Rückgabewerte
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.
Siehe auch
- ReflectionClass::isInterface() - Checks if interface
- ReflectionClass::implementsInterface() - Implements interface
- is_subclass_of() - Prüft ob ein Objekt von der angegebenen Klasse abstammt
- get_parent_class() - Gibt den Namen der Elternklasse eines Objektes zurück
There are no user contributed notes for this page.
