PHP Classes

File: autoload.inc.php

Recommend this page to a friend!
  Classes of Tom Schaefer   QTag   autoload.inc.php   Download  
File: autoload.inc.php
Role: Auxiliary script
Content type: text/plain
Description: autoloader
Class: QTag
Generate tag based documents programmatically
Author: By
Last change:
Date: 16 years ago
Size: 316 bytes
 

Contents

Class file image Download
<?php

function __autoload($className=null) {
   
$classes = array (
       
'QTag.class.php',
       
'QTagNode.class.php',
       
'QCommonTags.class.php',
    );

    foreach(
$classes as $class) {
        include_once(
$class);
    }
    if(!
class_exists($className)) {
        include_once(
$className.".class.php");
    }

}