Reflection::getModifierNames
ReflectionClass::__clone
Reflection
PHP Manual
ReflectionClass Sınıfı
Giriş
ReflectionClass
sınıfı bir sınıf hakkında bilgi edinilmesini sağlar.
Sınıf Sözdizimi
ReflectionClass
implements
Reflector
{
/* Sabitler */
const
integer
ReflectionClass::IS_IMPLICIT_ABSTRACT
= 16
;
const
integer
ReflectionClass::IS_EXPLICIT_ABSTRACT
= 32
;
const
integer
ReflectionClass::IS_FINAL
= 64
;
/* Özellikler */
public
$name
;
/* Yöntemler */
final
private
void
__clone
(
void
)
__construct
(
string
$değiştirge
)
public
static
string
export
(
mixed
$değiştirge
[,
bool
$ihracet
= false
] )
public
mixed
getConstant
(
string
$isim
)
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
$isim
)
public
array
getMethods
([
string
$süzgeç
] )
public
int
getModifiers
(
void
)
public
string
getName
(
void
)
public
string
getNamespaceName
(
void
)
public
object
getParentClass
(
void
)
public
ReflectionProperty
getProperties
([
string
$süzgeç
] )
public
ReflectionProperty
getProperty
(
string
$isim
)
public
string
getShortName
(
void
)
public
int
getStartLine
(
void
)
public
array
getStaticProperties
(
void
)
public
mixed
getStaticPropertyValue
(
string
$isim
[,
string
$öntanımlı
] )
public
bool
hasConstant
(
string
$isim
)
public
bool
hasMethod
(
string
$isim
)
public
bool
hasProperty
(
string
$isim
)
public
bool
implementsInterface
(
string
$arayüz
)
public
bool
inNamespace
(
void
)
public
bool
isAbstract
(
void
)
public
bool
isFinal
(
void
)
public
bool
isInstance
(
string
$nesne
)
public
bool
isInstantiable
(
void
)
public
bool
isInterface
(
void
)
public
bool
isInternal
(
void
)
public
bool
isIterateable
(
void
)
public
bool
isSubclassOf
(
string
$sınıf
)
public
bool
isUserDefined
(
void
)
public
object
newInstance
(
mixed
$değiştirgeler
[,
mixed
$...
] )
public
object
newInstanceArgs
([
array
$değiştirgeler
] )
public
void
setStaticPropertyValue
(
string
$isim
,
string
$değer
)
public
string
__toString
(
void
)
}
Özellikler
name
İsim.
Öntanımlı Sabitler
ReflectionClass Düğüm Türleri
ReflectionClass::IS_IMPLICIT_ABSTRACT
ReflectionClass::IS_EXPLICIT_ABSTRACT
ReflectionClass::IS_FINAL
İçindekiler
ReflectionClass::__clone
— Nesnenin bir kopyasını oluşturur
ReflectionClass::__construct
— Bir ReflectionClass nesnesi oluşturur
ReflectionClass::export
— Bir sınıf ihraç eder
ReflectionClass::getConstant
— Tanımlı sabitleri döndürür
ReflectionClass::getConstants
— Sabitleri döndürür
ReflectionClass::getConstructor
— Kurucuyu döndürür
ReflectionClass::getDefaultProperties
— Öntanımlı özellikleri döndürür
ReflectionClass::getDocComment
— Belgelendirici açıklamaları döndürür
ReflectionClass::getEndLine
— Son satırın numarasını döndürür
ReflectionClass::getExtension
— Eklenti bilgilerini döndürür
ReflectionClass::getExtensionName
— Eklentinin ismini döndürür
ReflectionClass::getFileName
— Bir dosya adı döndürür
ReflectionClass::getInterfaceNames
— Arayüz isimlerini döndürür
ReflectionClass::getInterfaces
— Arayüzleri döndürür
ReflectionClass::getMethod
— Bir yöntemle ilgili bir ReflectionMethod nesnesi döndürür
ReflectionClass::getMethods
— Yöntem listesini döndürür
ReflectionClass::getModifiers
— Değiştiricileri döndürür
ReflectionClass::getName
— Sınıf ismini döndürür
ReflectionClass::getNamespaceName
— İsim alanı ismini döndürür
ReflectionClass::getParentClass
— Ebeveyn sınıfı döndürür
ReflectionClass::getProperties
— Özellikleri döndürür
ReflectionClass::getProperty
— Bir özellik döndürür
ReflectionClass::getShortName
— Kısa adı döndürür
ReflectionClass::getStartLine
— Başlangıç satır numarasını döndürür
ReflectionClass::getStaticProperties
— Duruk özellikleri döndürür
ReflectionClass::getStaticPropertyValue
— Duruk özelliğin değerini döndürür
ReflectionClass::hasConstant
— Sabit tanımlı mı diye bakar
ReflectionClass::hasMethod
— Yöntem tanımlı mı diye bakar
ReflectionClass::hasProperty
— Özellik tanımlı mı diye bakar
ReflectionClass::implementsInterface
— Arayüz gerçeklenmiş mi diye bakar
ReflectionClass::inNamespace
— Sınıf isim alanında mı diye bakar
ReflectionClass::isAbstract
— Sınıf soyut mu diye bakar
ReflectionClass::isFinal
— Sınıf bir final sınıf mı diye bakar
ReflectionClass::isInstance
— Sınıf bir nesne örneği mi diye bakar
ReflectionClass::isInstantiable
— Sınıf örneklenebilir mi diye bakar
ReflectionClass::isInterface
— Sınıf bir arayüz mü diye bakar
ReflectionClass::isInternal
— Sınıf yerleşik bir sınıf mı diye bakar
ReflectionClass::isIterateable
— Sınıf yinelenebilir mi diye bakar
ReflectionClass::isSubclassOf
— Sınıf bir alt sınıf mı diye bakar
ReflectionClass::isUserDefined
— Sınıf bir kullanıcı tanımlı sınıf mı diye bakar
ReflectionClass::newInstance
— Yeni örnek
ReflectionClass::newInstanceArgs
— Yeni örnek değiştirgeleri
ReflectionClass::setStaticPropertyValue
— Duruk özelliğe değer atar
ReflectionClass::__toString
— Dizgesel tepkiyi görselleştirir
Reflection::getModifierNames
ReflectionClass::__clone
Reflection
PHP Manual