Login   Register  
PHP Classes
elePHPant
Icontem

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: 1828 users
All time rank: 1838
Week users: 1 user
Week rank: 2417
 

  Author  
Picture of Cornelius Bolten
Name: Cornelius Bolten <e-mail contact>
Packages: 8 Browse all classes by Cornelius Bolten Browse all classes by
Country: Germany Germany - PHP jobs in Germany
Age: 28
All time rank: 22211 in Germany Germany
Week rank: 511 Down27 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   Rate classes User ratings   Applications   Files Files  

  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


  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%)
1842
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.