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)
Introdução
The ReflectionObject class reports information about an object.
Sinopse da classe
/* Constantes */
/* Propriedades */
/* Métodos */
/* Métodos herdados */
ReflectionClass::__construct
( mixed $argument
)
}Propriedades
- name
-
Name of the object's class. Read-only, throws ReflectionException in attempt to write.
Índice
- ReflectionObject::__construct — Constructs a ReflectionObject
- ReflectionObject::export — Export
marcel dot nolte at noltecomputer dot de
02-Sep-2009 02:42
