Hide changed files | Directory listing | RSS feed
* Db/Database.php: Fixed PHPDoc
* Db/Database.php: Scrollable cursor: simplified result assignment
* Db/Database.php: Added support for scrollable cursor (fixes OOM in es-matrix)
application/ path prefix is no longer required
* Db/ - MySQLDB::getLastModified() overrides Database::getLastModified() - Added Table::getLastModified()
* Db/MySQLDB.php: Added MySQLDB::getLastModified()
* Db/Database.php: Fixed readConfig() logic
* Db/Database.php - Added general support for the `port' parameter * Db/Database.php, Db/MySQLDB.php - Added support for the `port' and `unix_socket' parameters
* 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
←Prev12Next→
Show All