PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Ersun Özer   PHP Autoload Class Files   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example file
Class: PHP Autoload Class Files
Automatically load class files from directories
Author: By
Last change: added new function debug()
Date: 10 years ago
Size: 604 bytes


Class file image Download
 * @project 003
 * @file example
 * @datetime 22:5:2013-9:2
define('ROOT', realpath(dirname(__FILE__)));
$ext = array('.php', '.class.php', '.inc.php');
$dir = array(
$loaded = new Loader($dir, $ext);
// TEST :
echo '<pre>';


like this

loaded class :3

    [registry] => library
    [mysql] => library
    [backup] => library