| 1 |
<?php |
| 2 |
/** |
| 3 |
* |
| 4 |
*/ |
| 5 |
|
| 6 |
// NOTE: NOT ALL CLASSED IS AUTOLOADED YET! ONLY FEW CLASSES |
| 7 |
// IS AUTOLOADED. ONLY CLASSES WITH NAME MAPPED TO TE PHYSICAL PATH |
| 8 |
// IS AUTOLOADED!! |
| 9 |
require_once CJTOOLBOX_FRAMEWORK . '/autoload/loader.php'; |
| 10 |
$CJTAutoLoad = CJT_Framework_Autoload_Loader::autoLoad('CJT', CJTOOLBOX_PATH); |
| 11 |
|
| 12 |
// Old class maps. |
| 13 |
// Only commonly-used classed will be mapped here. |
| 14 |
$map = $CJTAutoLoad->map(); |
| 15 |
|
| 16 |
// xTable class |
| 17 |
$map->offsetSet('CJTxTable', 'framework/db/mysql/xtable.inc.php'); |
| 18 |
$map->offsetSet('CJTTable', 'framework/db/mysql/table.inc.php'); |
| 19 |
$map->offsetSet('CJTBlockPinsTable', 'tables/block-pins.php'); |
| 20 |
$map->offsetSet('CJTBlockModel', 'models/block.php'); |
| 21 |
$map->offsetSet('CJTBlocksModel', 'models/blocks.php'); |
| 22 |
|