| package |
jelix |
|---|---|
| subpackage |
core |
getPath( $className) : string
stringthe full path of the file declaring the given class
loadClass( $className)
registerClass( $className, $includeFile)
| parameter |
string $className the class name. It can contain a namespace string $includeFile the full path to the file we have to include |
|---|---|
registerClassPattern( $regExp, $includePath, $extension = '.php')
registerIncludePath( $includePath, $extension = '.php')
registerNamespace( $namespace, $includePath, $extension = '.php')
example: registerNamespace('foo\bar','/my/path', '.php') the resulting path for the class \foo\bar\baz\myclass is /my/path/foo/bar/baz/myclass.php
registerNamespacePathMap( $namespace, $includePath, $extension = '.php')
registerNamespacePathMap('foo\bar','/my/path', '.php'); the resulting path for the class \foo\bar\baz\myclass is /my/path/baz/myclass.php
nsPaths :
classPaths :
includePaths :
regClassPaths :