Login   Register  
PHP Classes
elePHPant
Icontem

Class: PHPClassLoader

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Stephan Beal  >  PHPClassLoader  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHPClassLoader
Base name: 300
Description: A classloader which mimics Java's own, using the PHP_CLASSPATH variable.
Related classes: , , , , ,
Version: -
PHP version: -
License: Unspecified (ask the author)
All time users: 1270 users
All time rank: 2497
Week users: 1 user
Week rank: 2467
Picture of Stephan Beal
Author: Stephan Beal <e-mail contact>
Packages: 1 Browse this author's classes Browse this author's classes
Country: ???
Age: ???
All time rank: 1607
Week rank: 1634 Down


  Detailed description  
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.

 

  Groups  
Group folder image Utilities and Tools General purpose tools to simplify software development View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Perfect (100.0%)
Good (81.2%)
-
-
-
-
Not sure (58.1%)
945
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 classload.inc.php ??? PHPClassLoader and ext_include()
Plain text file MyClass.class.php ??? test class for classload() and ext_include()

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