| 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( 'cssJSToolbox', 'css-js-toolbox.class.php' ); |
| 18 |
$map->offsetSet( 'CJTxTable', 'framework/db/mysql/xtable.inc.php' ); |
| 19 |
$map->offsetSet( 'CJTTable', 'framework/db/mysql/table.inc.php' ); |
| 20 |
$map->offsetSet( 'CJTBlockPinsTable', 'tables/block-pins.php' ); |
| 21 |
$map->offsetSet( 'CJTBlocksTable', 'tables/blocks.php' ); |
| 22 |
$map->offsetSet( 'CJTBlockFilesTable', 'tables/block-files.php' ); |
| 23 |
$map->offsetSet( 'CJTBlockModel', 'models/block.php' ); |
| 24 |
$map->offsetSet( 'CJTBlocksModel', 'models/blocks.php' ); |
| 25 |
$map->offsetSet( 'CJTAccessPoint', 'framework/access-points/access-point.class.php' ); |
| 26 |
$map->offsetSet( 'CJTPageAccessPoint', 'framework/access-points/page.class.php' ); |
| 27 |
|
| 28 |
|
| 29 |
# Composer Autoloads (All the above autoloads is deprecated and will be revmoed later) |
| 30 |
require 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php'; |