ReflectionProperty ��

(PHP 5, PHP 7)

���

ReflectionProperty �౨����������Ե������Ϣ��

��ժҪ

ReflectionProperty implements Reflector {
/* ���� */
const integer IS_STATIC = 1 ;
const integer IS_PUBLIC = 256 ;
const integer IS_PROTECTED = 512 ;
const integer IS_PRIVATE = 1024 ;
/* ���� */
public $name ;
public $class ;
/* ���� */
final private __clone ( void ) : void
public __construct ( mixed $class , string $name )
public static export ( mixed $class , string $name [, bool $return ] ) : string
public getDocComment ( void ) : string
public getModifiers ( void ) : int
public getName ( void ) : string
public getValue ([ object $object ] ) : mixed
public isDefault ( void ) : bool
public isPrivate ( void ) : bool
public isProtected ( void ) : bool
public isPublic ( void ) : bool
public isStatic ( void ) : bool
public setAccessible ( bool $accessible ) : void
public setValue ( object $object , mixed $value ) : void
public __toString ( void ) : string
}

����

name

���Ե����ơ�ֻ�����ڳ��Ը�ֵ��ʱ���׳� ReflectionException��

class

������������ڵ��ࡣֻ�����ڳ��Ը�ֵ��ʱ���׳� ReflectionException��

Ԥ���峣��

ReflectionProperty ���η�

ReflectionProperty::IS_STATIC

ָʾ�� static �����ԡ�

ReflectionProperty::IS_PUBLIC

ָʾ�� public �����ԡ�

ReflectionProperty::IS_PROTECTED

ָʾ�� protected �����ԡ�

ReflectionProperty::IS_PRIVATE

ָʾ�� private �����ԡ�

Table of Contents