Login   Register  
PHP Classes
elePHPant
Icontem

scm_autoloader: Autoload class scanning directories of class files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-10-22 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 274 This week: 1All time: 6,737 This week: 1,476Up
Version License PHP version Categories  
autoloader_ivanscm 0.1Free for non-commercial...5.3PHP 5, Files and Folders, Language
Description Author  

This class can autoload a class by scanning directories of class files.

It registers an autoload function that can scan a given directory recursively and inspect files with the .php extension to see which contain the definitions of classes or interfaces.

The list of classes that were found is stored in a cache file, so it avoids the scanning overhead next time a class needs to be loaded automatically.

Picture of IvanSCM
Name: IvanSCM <contact>
Classes: 1 package by
Country: Kazakhstan Kazakhstan
Age: 24
All time rank: 34395 in Kazakhstan Kazakhstan
Week rank: 1130 Up3 in Kazakhstan Kazakhstan Up

  Files folder image Files  
File Role Description
Plain text file autoloader.php Class Main class
Accessible without login Plain text file use.php Example Demo for use

 Version Control Unique User Downloads Download Rankings  
 0%Total:274All time:6,737
 This week:1This week:1,476Up