Reflection::getModifierNames
ReflectionClass::__clone
Reflection
PHP Manual
The ReflectionClass class
Introduction
کلاس
ReflectionClass
اطلاعاتی درباره کلاس ارائه دهد.
Class synopsis
ReflectionClass
implements
Reflector
{
/* Constants */
const
integer
ReflectionClass::IS_IMPLICIT_ABSTRACT
= 16
;
const
integer
ReflectionClass::IS_EXPLICIT_ABSTRACT
= 32
;
const
integer
ReflectionClass::IS_FINAL
= 64
;
/* Properties */
public
$name
;
/* Methods */
final
private
void
__clone
(
void
)
__construct
(
string
$argument
)
public
static
string
export
(
mixed
$argument
[,
bool
$return
= false
] )
public
mixed
getConstant
(
string
$name
)
public
array
getConstants
(
void
)
public
object
getConstructor
(
void
)
public
array
getDefaultProperties
(
void
)
public
string
getDocComment
(
void
)
public
int
getEndLine
(
void
)
public
ReflectionExtension
getExtension
(
void
)
public
string
getExtensionName
(
void
)
public
string
getFileName
(
void
)
public
array
getInterfaceNames
(
void
)
public
array
getInterfaces
(
void
)
public
object
getMethod
(
string
$name
)
public
array
getMethods
([
string
$filter
] )
public
int
getModifiers
(
void
)
public
string
getName
(
void
)
public
string
getNamespaceName
(
void
)
public
object
getParentClass
(
void
)
public
array
getProperties
([
int
$filter
] )
public
ReflectionProperty
getProperty
(
string
$name
)
public
string
getShortName
(
void
)
public
int
getStartLine
(
void
)
public
array
getStaticProperties
(
void
)
public
mixed
getStaticPropertyValue
(
string
$name
[,
string
$default
] )
public
bool
hasConstant
(
string
$name
)
public
bool
hasMethod
(
string
$name
)
public
bool
hasProperty
(
string
$name
)
public
bool
implementsInterface
(
string
$interface
)
public
bool
inNamespace
(
void
)
public
bool
isAbstract
(
void
)
public
bool
isFinal
(
void
)
public
bool
isInstance
(
object
$object
)
public
bool
isInstantiable
(
void
)
public
bool
isInterface
(
void
)
public
bool
isInternal
(
void
)
public
bool
isIterateable
(
void
)
public
bool
isSubclassOf
(
string
$class
)
public
bool
isUserDefined
(
void
)
public
object
newInstance
(
mixed
$args
[,
mixed
$...
] )
public
object
newInstanceArgs
([
array
$args
] )
public
void
setStaticPropertyValue
(
string
$name
,
string
$value
)
public
string
__toString
(
void
)
}
Properties
name
Prop description
Predefined Constants
ReflectionClass Node Types
ReflectionClass::IS_IMPLICIT_ABSTRACT
ReflectionClass::IS_EXPLICIT_ABSTRACT
ReflectionClass::IS_FINAL
Table of Contents
ReflectionClass::__clone
— Clone شی
ReflectionClass::__construct
— ساخت ReflectionClass
ReflectionClass::export
— ارسال کلاس
ReflectionClass::getConstant
— دریافت ثابتهای تعریف شده
ReflectionClass::getConstants
— دریافت ثابتها
ReflectionClass::getConstructor
— دریافت سازنده
ReflectionClass::getDefaultProperties
— دریافت خاصیتهای پیشفرض
ReflectionClass::getDocComment
— دریافت توضیحات doc
ReflectionClass::getEndLine
— دریافت خط پایان
ReflectionClass::getExtension
— دریافت اطلاعات ضمیمه
ReflectionClass::getExtensionName
— دریافت نام ضمیمه
ReflectionClass::getFileName
— دریافت filename
ReflectionClass::getInterfaceNames
— دریافت نام واسط
ReflectionClass::getInterfaces
— دریافت واسط
ReflectionClass::getMethod
— دریافت ReflectionMethod
ReflectionClass::getMethods
— دریافت فهرست متدها
ReflectionClass::getModifiers
— دریافت تغییردهنده
ReflectionClass::getName
— دریافت نام کلاس
ReflectionClass::getNamespaceName
— دریافت نام فضای نام
ReflectionClass::getParentClass
— دریافت کلاس والد
ReflectionClass::getProperties
— دریافت خاصیتها
ReflectionClass::getProperty
— دریافت خاصیت
ReflectionClass::getShortName
— دریافت نام کوتاه
ReflectionClass::getStartLine
— گرفتن شماره خط شروع
ReflectionClass::getStaticProperties
— دریافت خاصیتهای استاتیک
ReflectionClass::getStaticPropertyValue
— دریافت مقدار خاصیت استاتیک
ReflectionClass::hasConstant
— بررسی تعریف شدن ثابت
ReflectionClass::hasMethod
— بررسی تعریف شدن متد
ReflectionClass::hasProperty
— بررسی تعریف شدن خاصیت
ReflectionClass::implementsInterface
— پیادهسازی واسط
ReflectionClass::inNamespace
— بررسی بودن در فضای نام
ReflectionClass::isAbstract
— بررسی انتزاعی بودن کلاس
ReflectionClass::isFinal
— بررسی نهایی بودن کلاس
ReflectionClass::isInstance
— بررسی کلاس برای نمونه
ReflectionClass::isInstantiable
— بررسی قابلیت نمونهسازی
ReflectionClass::isInterface
— بررسی واسط بودن
ReflectionClass::isInternal
— بررسی داخلی
ReflectionClass::isIterateable
— بررسی تکرارپذیری
ReflectionClass::isSubclassOf
— بررسی زیرکلاس بودن
ReflectionClass::isUserDefined
— بررسی تعریف شده توسط کاربر
ReflectionClass::newInstance
— نمونه جدید
ReflectionClass::newInstanceArgs
— آرگومانهای نمونه جدید
ReflectionClass::setStaticPropertyValue
— تعیین مقدار خاصیت استاتیک
ReflectionClass::__toString
— به رشته
Reflection::getModifierNames
ReflectionClass::__clone
Reflection
PHP Manual