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

search for in the

ReflectionClass::hasConstant> <ReflectionClass::getTraitNames
[edit] Last updated: Fri, 25 May 2012

view this page in

ReflectionClass::getTraits

(PHP >= 5.4.0)

ReflectionClass::getTraitsReturns an array of traits used by this class

Beschreibung

public array ReflectionClass::getTraits ( void )

Warnung

Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.

Parameter-Liste

Diese Funktion hat keine Parameter.

Rückgabewerte

Returns an array with trait names in keys and instances of trait's ReflectionClass in values. Returns NULL in case of an error.



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

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