ReflectionClass 类 ReflectionClass
&reftitle.intro; ReflectionClass 类报告了一个类的有关信息。
&reftitle.classsynopsis; ReflectionClass implements Reflector &Constants; public const int ReflectionClass::IS_IMPLICIT_ABSTRACT public const int ReflectionClass::IS_EXPLICIT_ABSTRACT public const int ReflectionClass::IS_FINAL public const int ReflectionClass::IS_READONLY public const int ReflectionClass::SKIP_INITIALIZATION_ON_SERIALIZE public const int ReflectionClass::SKIP_DESTRUCTOR &Properties; public string name &Methods;
&reftitle.properties; name 类名。只读,尝试赋值时抛出 ReflectionException
&reftitle.constants;
ReflectionClass 修饰符 ReflectionClass::IS_IMPLICIT_ABSTRACT int 表示该类是 abstract,因为有一些抽象方法。 ReflectionClass::IS_EXPLICIT_ABSTRACT int 表示该类是 abstract,因为已明确定义。 ReflectionClass::IS_FINAL int 表示该类是 final。 ReflectionClass::IS_READONLY int 表示该类是 readonly。 ReflectionClass::SKIP_INITIALIZATION_ON_SERIALIZE int 表示 serialize 不应触发延迟对象的初始化。 ReflectionClass::SKIP_DESTRUCTOR int 表示将对象重置为延迟时不应调用对象析构方法。
&reftitle.changelog; &Version; &Description; 8.4.0 所有类常量现已类型化。 8.0.0 移除 ReflectionClass::export
&reference.reflection.entities.reflectionclass;