[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/tests/test_tools/simpletest/ -> reflection_php4.php (sommaire)

base include file for SimpleTest

Version: $Id: reflection_php4.php 1397 2006-09-07 07:55:53Z wei $
Poids: 115 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

SimpleReflection:: (10 méthodes):
  SimpleReflection()
  classExists()
  classExistsSansAutoload()
  classOrInterfaceExists()
  classOrInterfaceExistsSansAutoload()
  getMethods()
  getInterfaces()
  getParent()
  isAbstract()
  getSignature()


Classe: SimpleReflection  - X-Ref

Version specific reflection API.

SimpleReflection($interface)   X-Ref
Stashes the class/interface.

param: string $interface    Class or interface

classExists()   X-Ref
Checks that a class has been declared.

return: boolean        True if defined.

classExistsSansAutoload()   X-Ref
Needed to kill the autoload feature in PHP5
for classes created dynamically.

return: boolean        True if defined.

classOrInterfaceExists()   X-Ref
Checks that a class or interface has been
declared.

return: boolean        True if defined.

classOrInterfaceExistsSansAutoload()   X-Ref
Needed to kill the autoload feature in PHP5
for classes created dynamically.

return: boolean        True if defined.

getMethods()   X-Ref
Gets the list of methods on a class or
interface.

returns: array          List of method names.

getInterfaces()   X-Ref
Gets the list of interfaces from a class. If the
class name is actually an interface then just that
interface is returned.

returns: array          List of interfaces.

getParent()   X-Ref
Finds the parent class name.

returns: string      Parent class name.

isAbstract()   X-Ref
Determines if the class is abstract, which for PHP 4
will never be the case.

returns: boolean      True if abstract.

getSignature($method)   X-Ref
Gets the source code matching the declaration
of a method.

param: string $method          Method name.



Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7