Go to most recent revision | Show changed files | Directory listing | RSS feed
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)
LEAST: Generalized mix-ins
Added LEAST (improved LESSphp)
* features.class.php: Replaced INPUTs with SPANs (feedback feature will be implemented using PHPX instead)
* 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
←Prev12Next→
Show All