Go to most recent revision | Hide changed files | Details | Compare with Previous | Blame | RSS feed
* Db/Database.php: Removed unnecessary spaces
Fixed PHPdoc
* Db/Database.php - Added createTable() to create table from meta-information * Db/MySQLDB.php - Overridden _columnDef() to handle specialties for createTable() * Db/Table.php - Added meta-information to create() table from it (uses Database::createTable()) * Db/MySQLTable.php - Overridden _createOptions() to handle specialties for Table::create()
Table's meta-properties are static to allow for reuse across instances
Use Autoloader
Added namespaces
* Db/Table.php - Support string for database class, converted to corresponding instance - use === instead of is_null()
* Db/Mapper.php: - Mapper inherits from AbstractModel for generic getters/setters, constructors must be `protected'
* Db/Database.php - Database::updates(): Require array for $updates
Can read database connection configuration from file
* Db/MySQLDB.php: Fixed create() parameters for strict standards
* Db/Database.php, Db/MySQLDB.php: Added create() to create a database from scratch
* Db/Database.php - Decoupled making the DB connection from instantiation * Db/MySQLDB.php - Fixed PHPDoc
* AbstractModel.php - map(): Force parameters to be arrays, no user-defined exceptions necessary * Application.php - Fixed PHPDoc * Table.php - find($id) returns empty array or first item
* General - Added Base.php for general getters and setters * Application.php - Reverted bad pretty printing * database.class.php (legacy file) - Fixed Googlebot-blocking bogus constant reference * Database.php, Table.php - Support constructor parameters to override properties
* Db/Database.php - insert(): Fixed wrong method reference
* Framework - Improved support for dabase-specific quotes - Added support for pre-quoted table/database references
- Use relative include paths, removes dependency on lib/ path - Added experimental AccessDB
Added framework from es-matrix