To simply enlist all methods and properties of an object simply write:
<?php ReflectionObject::export($yourObject); ?>
,which will cause an var_export-like output.
The ReflectionObject class
(PHP 5)
Einführung
The ReflectionObject class reports information about an object.
Klassenbeschreibung
/* Konstanten */
/* Eigenschaften */
/* Methoden */
/* Geerbte Methoden */
ReflectionClass::__construct
( mixed
}$argument
)Eigenschaften
- name
-
Name of the object's class. Read-only, throws ReflectionException in attempt to write.
Inhaltsverzeichnis
- ReflectionObject::__construct — Constructs a ReflectionObject
- ReflectionObject::export — Export
marcel dot nolte at noltecomputer dot de ¶
3 years ago
