Location: PHPKode > scripts > DATA > data/data.lib.php
<?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($className, 0, 4) != "DATA") return false;
    require_once dirname(__FILE__) . '/' . str_replace('_', '/', $className) . '.php';
    return true;
}

spl_autoload_register('autoload_data_lib');
?>
Return current item: DATA