Various utility functions
| author |
Michiel Rook mrook@php.net |
|---|---|
| version |
$Id: c569f96e625ed8f9c6ae5add2b2f4a0a6c3e5a54 $ |
| package |
phing.tasks.ext.phpunit |
| since | 2.1.0 |
getPackageName($classname) : string
stringthe name of the package
getSubpackageName(string $classname) : string|null
| author |
Benjamin Schultz bschultz@proqrent.de |
|---|
stringthe name of the class
string|nullthe name of the subpackage
getClassFromFileName($filename) : string
Assumes that there is only one class defined in that particular file, and that the naming follows the dot-path (Java) notation scheme.
stringthe name fo the class
getDefinedClasses($filename, $classpath = NULL) : array
arraylist of classes defined in the file
definedClasses :