[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/class/object/ -> reflection.class.php (sommaire)

(pas de description)

Poids: 46 lignes (1 kb)
Inclus ou requis:0 fois
Référencé: 1 fois
Nécessite: 0 fichiers

Définit 1 class

Reflection:: (3 méthodes):
  Reflection()
  methodExists()
  getClassMethods()


Classe: Reflection  - X-Ref

\ingroup Core

<b>Very</b> modest attempt to recreate some kind of Reflection API
"a la" Java.
Reflection()   X-Ref
Constructor. Does nothing.


methodExists( &$class, $methodName )   X-Ref
Returns true if the class has a method called $methodName

param: class An object of the class we want to check
param: methodName Name of the method we want to check
return: Returns true if method exists otherwise, false

getClassMethods( &$class )   X-Ref
Returns all the methods available in the class. It returns both the methods from the
class itself <b>as well as</b> all

param: class The class from which we would like to check the methods
return: An array containing all the methods available.



Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics