PHP Classes
elePHPant
Icontem

PHPClassLoader: A classloader which mimics Java's own, using the PHP_CLASSPATH variable.

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2001-08-16 (14 years ago) RSS 2.0 feedStarStarStar 58%Total: 1,322 All time: 2,804 This week: 1,018Up
Version License Categories
1.0Unspecified (ask ...Utilities and Tools
Description Author

A classloader which mimics Java's own, using the PHP_CLASSPATH variable. New objects can be loaded with a simple '$foo=classload( "MyClass" )' call. It allows users to have functionality similar to that provided by include()'s use of the include_path, with the exception that they can change the include path without editing php.ini. It also adds some functionality as well. Also included is the function ext_include(), which is _almost_ a drop-in replacement for include() (it will not include the same file more than once, so it cannot be used to include code repeatedly from loops). Please see the samples in the top of the source file for instructions.

Picture of Stephan Beal
Name: Stephan Beal <contact>
Classes: 1 package by
Country: ???
Age: ???
All time rank: 1878
Week rank: 1502 Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file classload.inc.php ??? PHPClassLoader and ext_include()
Accessible without login Plain text file MyClass.class.php ??? test class for classload() and ext_include()

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,322
This week:0
All time:2,804
This week:1,018Up
 User Ratings  
 
 All time
Utility:100%StarStarStarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1106