Compare Revisions
Last modification
- Rev 52 2013-05-29 00:44:10
- Author: PointedEars
- Log message:
Use Autoloader
/trunk/Db/MySQLDB.php |
2,8 → 2,6 |
|
namespace PointedEars\PHPX\Db; |
|
require_once __DIR__ . '/Database.php'; |
|
class MySQLDB extends Database |
{ |
/** |
/trunk/Db/Database.php |
3,7 → 3,6 |
namespace PointedEars\PHPX\Db; |
|
require_once __DIR__ . '/../global.inc'; |
require_once __DIR__ . '/../AbstractModel.php'; |
|
/** |
* Generic database model class using PDO (PHP Data Objects) |
/trunk/Db/Mapper.php |
2,9 → 2,6 |
|
namespace PointedEars\PHPX\Db; |
|
require_once __DIR__ . '/../AbstractModel.php'; |
require_once __DIR__ . '/Table.php'; |
|
/** |
* Generic abstract database mapper class |
* |
/trunk/Db/Table.php |
2,9 → 2,6 |
|
namespace PointedEars\PHPX\Db; |
|
require_once __DIR__ . '/../Application.php'; |
require_once __DIR__ . '/../AbstractModel.php'; |
|
use \PointedEars\PHPX\Application; |
|
/** |