Recommend this page to a friend! |
Download .zip |
Info | View files (2) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2001-08-16 (15 years ago) | 58% | Total: 1,325 | All time: 2,814 This week: 874 |
Version | License | Categories | ||||
1.0 | Unspecified (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. |
|
Files |
File | Role | Description |
---|---|---|
classload.inc.php | ??? | PHPClassLoader and ext_include() |
MyClass.class.php | ??? | test class for classload() and ext_include() |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.