Files and Folders: Class Path Locator
Cornelius Bolten (contact me)
This class is meant to resolve path of a [PHP class library] file to be included like in Java.
You can specify the directory paths of several [class] libraries that are available and accessible on the system.
This class can check whether a file with given name exists in any of the specified directory paths. If the file path is found it loads its file via PHP include or require statements. It's also possible only to receive the path of a given file. This can be used to load e.g. Template-files, or config-files, etc.
It can also prevent that the same file be loaded more than once.
| Utility
| Consistency
| Docs
| Examples
| Tests
| Videos
| Overall
| Rank
|
| Sufficient (60.0%)
| Sufficient (70.0%)
| -
| Sufficient (70.0%)
| -
| -
| Not sure (44.0%)
| 1536 |
Click here for detailed information about this class on phpclasses.org