downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ReflectionExtension::getConstants> <ReflectionExtension::getClasses
[edit] Last updated: Fri, 23 Mar 2012

view this page in

ReflectionExtension::getClassNames

(PHP 5)

ReflectionExtension::getClassNamesEklentide tanımlı sınıf isimlerini döndürür

Açıklama

public array ReflectionExtension::getClassNames ( void )

Eklentide tanımlı sınıf isimlerinin listesini döndürür.

Değiştirgeler

Bu işlevin değiştirgesi yoktur.

Dönen Değerler

Sınıf isimlerinden oluşan bir dizi. Hiç tanımlı sınıf yoksa boş bir dizi döner.

Örnekler

Örnek 1 ReflectionExtension::getClassNames() örneği

<?php
$ext 
= new ReflectionExtension('XMLWriter');
var_dump($ext->getClassNames());
?>

Yukarıdaki örnek şuna benzer bir çıktı üretir:

array(1) {
  [0]=>
  string(9) "XMLWriter"
}

Ayrıca Bakınız



add a note add a note User Contributed Notes ReflectionExtension::getClassNames
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites