update : 2015.11.03
php.shukuma.com
|
The ReflectionProperty class
The ReflectionProperty class
(PHP 5)
소개
The ReflectionProperty class reports
information about classes properties.
클래스 개요
final private void __clone
( void
)
public static string export
( mixed $class
, string $name
[, bool $return
] )
public mixed getValue
([ object $object
] )
}
프로퍼티
- name
-
Name of the property. Read-only, throws
ReflectionException in attempt to write.
- class
-
Name of the class where the property is defined. Read-only, throws
ReflectionException in attempt to write.
예약 상수
ReflectionProperty Modifiers
ReflectionProperty::IS_STATIC
-
Indicates static
properties.
ReflectionProperty::IS_PUBLIC
-
Indicates public
properties.
ReflectionProperty::IS_PROTECTED
-
Indicates protected
properties.
ReflectionProperty::IS_PRIVATE
-
Indicates private
properties.
Table of Contents
|
|