Loader for class and library files
PHP2Go uses the "dot path" syntax to identify a class or library. The first element of the path must point to a include path key, (php2go, the framework default, or a user-defined include path key, defined in the configuration entry INCLUDE_PATH). The following path elements are traduced into a relative path in the file system.
In the path 'php2go.base.Document':
Each processed path is stored in an internal cache, so that it won't be processed twice.
Under PHP4, files and classes are included in the exact moment they're requested. Under PHP5, files are included right away and classes are included on demand, through an __autoload interceptor.
Located in /core/ClassLoader.class.php (line 63)
Get the singleton of the ClassLoader class
Import the file(s) pointed by the given path
Translates a dot path to a path in the file system pointing to a single file or a set of files, when the wildcard * is present.
Include all files inside a given directory
Operation will stop when the first error is found.
Include a file given its path in the file system
Check if a given file path is readable
The method also tries to find the file using include_path.
Register a new entry in PHP's include_path directive
Translate a dot path into a file system path
Determines the real file system path of the file or files. The first path element must match one of the defined include path keys. The other elements are translated into a relative file system path.
Checks if a directory or file path is valid
Documentation generated on Sun, 07 Oct 2007 19:21:37 -0300 by phpDocumentor 1.3.2