Login   Register  
PHP Classes
elePHPant
Icontem

Class: autoload2

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Thomas Shone  >  autoload2  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: autoload2
Base name: autoload2
Description: Automatically load classes from a directory
Related classes: ,
Version: 2.0
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 613 users
All time rank: 4055
Week users: 2 users
Week rank: 1665
Picture of Thomas Shone
Author: Thomas Shone <e-mail contact>
Packages: 5 Browse this author's classes Browse this author's classes
Country: South Africa South Africa - PHP jobs in South Africa
Age: ???
All time rank: 8139 in South Africa South Africa
Week rank: 446 Up2 in South Africa South Africa Up


  Detailed description  
This class can be used to automatically load classes from a given directory.

It uses PHP 5 auto-load support to load classes from a configurable directory.

The class traverses the directory for class script files with extensions usually associated to class files and loads the class file that match the requested class name.

It also keeps a log variable with all the classes loaded this way.

 

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features 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  
There are not enough user ratings to display for this class.

  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
Files folder imageinclude (2 files)
Plain text file autoload.php Class core class
Plain text file license.txt Lic. License
Plain text file example.php Example Example Script

  Files  /  Files folder image include  
File Role Description
  Plain text file defaultclass.php Class A class definition for the example script
  Plain text file misc.class.php Class A class definition for the example script

Download all files: autoload2.tar.gz autoload2.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.