<?php
include_once(dirname(dirname(__FILE__)).DIRECTORY_SEPARATOR."Validation.php");
function validateDataTypeAutoload($class) {
if (substr($class, 0, strlen("Validation_DataType_")) === 'Validation_DataType_') {
include dirname(__FILE__).DIRECTORY_SEPARATOR.strtr(strtolower(substr($class, strlen("Validation_DataType_"))), '_', DIRECTORY_SEPARATOR).'.php';
}
}
spl_autoload_register('validateDataTypeAutoload');
set_include_path(get_include_path().PATH_SEPARATOR.realpath(dirname(__FILE__)));
|