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)
소개
The ReflectionObject class reports information about an object.
클래스 개요
/* 상수 */
/* 프로퍼티 */
/* 메소드 */
__construct
( object $argument
)
/* 상속된 메소드 */
ReflectionClass::__construct
( mixed $argument
)
}프로퍼티
- name
-
Name of the object's class. Read-only, throws ReflectionException in attempt to write.
Table of Contents
- ReflectionObject::__construct — Constructs a ReflectionObject
- ReflectionObject::export — Export
marcel dot nolte at noltecomputer dot de
02-Sep-2009 02:42
