Class DIYFrameworkLoader

Description

Static class for loading the framework classes. Should be called by the __autoload() function.

Located in /diy-framework/DIYFrameworkLoader.class.php (line 10)


	
			
Method Summary
static void __autoload (string $className, string $dir)
Methods
static method __autoload (line 19)

Loads a framework class by its name. First checks if the file exists and then includes it.

  • access: public
static void __autoload (string $className, string $dir)
  • string $className: The name of the class to load
  • string $dir: Directory where the framework is located (with trailing slash). We need it because file_exists() looks in the current dir while require takes into account include_path.

Documentation generated on Tue, 25 Sep 2007 11:17:20 +0200 by phpDocumentor 1.3.2