Login   Register  
PHP Classes
elePHPant
Icontem

Class: Class Path Locator

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Cornelius Bolten  >  Class Path Locator  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Class Path Locator
Base name: libpathlocator
Description: Locate and include a file from a path list
Related classes: , , , , , , ,
Version: -
PHP version: -
License: Free for non-commercial use
All time users: 1811 users
All time rank: 1823
Week users: 2 users
Week rank: 1677
Picture of Cornelius Bolten
Author: Cornelius Bolten <e-mail contact>
Packages: 8 Browse this author's classes Browse this author's classes
Country: Germany Germany - PHP jobs in Germany
Age: 28
All time rank: 21611 in Germany Germany
Week rank: 601 Down24 in Germany Germany Down
Innovation award
Innovation award
Nominee: 2x


  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.

 

  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

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (60.0%)
Sufficient (70.0%)
-
Sufficient (70.0%)
-
-
Not sure (44.0%)
1827
Month:
Not yet rated by the users

  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 folder image 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.