Go to most recent revision | Show changed files | Directory listing | RSS feed
* 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
* Model.php: Added findByProperty()
* Db/Database.php: Removed unnecessary spaces
ORM: Allow to search for any ID, but never assign it until successful
Access global namespace explicitly
(Abstract)Model: Support exclusive mapping in constructor call
* Model.php - find(): Allow searching by ID directly - Fixed PHPdoc
Fixed PHPdoc
* Base.php: Fixed PHPdoc
AbstractModel extends Base for getters/setters, wrappers always throw exceptions on error
* 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()
←Prev12Next→
Show All