Login   Register  
PHP Classes

Class: Class Path Locator

Icontem
elePHPant

  Classes of Cornelius Bolten  >  Class Path Locator  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Class Path Locator Support forum
Base name: libpathlocator
Description: Locate and include a file from a path list
Version: -
Required PHP version: -
License: Free for non-commercial use
 
  Author   Group folder image Groups   Detailed description  
  Applications   Files Files  

Author

Picture of Cornelius Bolten
Name: Cornelius Bolten <e-mail contact>
Published packages: 8 Browse this author's classes Browse this author's classes
Country: Germany Germany - PHP jobs in Germany
Home page: http://www.homeofevil.com/

Groups

Group folder image Utilities and Tools General purpose tools to simplify software development View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes
Group folder image Language Constructs to assist in the language control View top rated classes

Detailed description

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.

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file example.PathLocator.php Example example-script, read carefully
Plain text file lib.PathLocator.php Class main lib-class
Download all files: libpathlocator.tar.gz libpathlocator.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.