Login   Register  
PHP Classes
elePHPant
Icontem

File: data.lib.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Martin Alterisio  >  DATA  >  data.lib.php  >  Download  
File: data.lib.php
Role: Application script
Content type: text/plain
Description: Main include file of the DATA library.
Class: DATA
Access data stored in MySQL tables like arrays
Author: By
Last change:
Date: 2007-07-04 07:09
Size: 457 bytes
 

Contents

Class file image Download
<?php
/**
 * Main include file of the DATA library.
 */

/**
 * Autoload function for DATA library.
 * @access private
 * @param string $className The name of the class to be loaded
 */
function autoload_data_lib($className) {
    if (
substr($className04) != "DATA") return false;
    require_once 
dirname(__FILE__) . '/' str_replace('_''/'$className) . '.php';
    return 
true;
}

spl_autoload_register('autoload_data_lib');
?>