Go to most recent revision | Hide changed files | Details | Compare with Previous | Blame | RSS feed
* 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()
* Application.php - autoload(): + Security fixes + Use DIRECTORY_SEPARATOR
Table's meta-properties are static to allow for reuse across instances
All ORM $_persistent* properties are static now
ORM $_persistentTable is now static to allow reuse across model objects
* Model.php: - $_persistentProperties is empty by default - Added insert() to avoid unnecessary SELECT - Speed optimizations
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
* Application.php, Registry.php: Return registry key of database for easier use of setDefaultDatabase()
* Db/Database.php, Db/MySQLDB.php: Added create() to create a database from scratch
* Controller.php: Fixed PHPDoc
Added de\pointedears\dom\DOMDocument2 with DOMDocument::renameNode() implementation
* Db/Database.php - Decoupled making the DB connection from instantiation * Db/MySQLDB.php - Fixed PHPDoc
Added ZF autoloader
Added Zend Framework 2.1.2 classes for thread-safe gettext-format translation (TODO: use autoloader)
←Prev12Next→
Show All