» Version | » Information |
---|---|
2008-12-25 stable |
|
2008-06-17 stable |
|
2008-06-08 stable |
|
2008-06-06 stable |
|
2008-05-14 stable |
|
2008-03-28 stable |
|
2007-06-27 stable |
|
1.5.0RC3 |
Easy InstallNot sure? Get more info. pear install DB_Table-1.5.0RC3 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_Table-1.5.0RC3 Release date: 2007-06-14 15:12 UTC Release state: beta Release uploaded by: wiesemann Changelog: - Added complete documentation in the PEAR manual. - new DB_Table_Base class added. This is a parent class for DB_Table and DB_Table_Database that contains methods and properties common to both classes. - The DB_Table::select*() and DB_Table::buildSQL() methods, which are now inherited from the DB_Table_Base class, now accept either a query array or (as before) a key of the $sql property array as a first argument. - Added DB_Table_Database::onDeleteAction() and DB_Table_Database::onUpdateAction() methods, which implement referentially triggered actions (e.g., cascading deletes). This code had previously been part of the DB_Table_Database insert() and update() methods. - Changed behavior of DB_Table::insert() and DB_Table::update() method for a DB_Table object that is part of a DB_Table_Database instance: If a parent DB_Table_Database object exists, these methods can now validate foreign keys and implement ON DELETE and ON UPDATE actions, if these behaviors are enabled in the parent DB_Table_Database object. The behaviors of the DB_Table and DB_Table_Database insert and update methods are now identical. (This is a BC break with 1.5.0RC1 and 1.5.0RC2 beta releases, but not with earlier stable releases.) - Disable automatic foreign key validation by default (BC break with releases 1.5.0RC1 and 1.5.0RC2). - Added buildFilter() method to the DB_Table_Base class. This a simplified version of the DB_Table_Database::buildFilter() method of previous 1.5.0RC* releases. (BC break with 1.5.0RC1 and 1.5.0RC2) - Added a private DB_Table_Database::_buildForeignKeyFilter() for more specialized uses of the old buildFilter() method, which are used internally to construct queries. - Changed return value of DB_Table_Database::validForeignKey on failure from boolean false to PEAR_Error. Changed related error codes. - Changed <autoinc> element of XML output to <autoincrement> for consistency with MDB2 XML schema. - Simplified unit tests for DB_Table_Database by adding a parent DatabaseTest unit test class. Dependencies:
|
2007-03-24 beta |
|
2007-02-06 beta |
|
2006-11-09 stable |
|
2006-07-25 stable |
|
2006-07-19 stable |
|
2006-04-26 stable |
|
2006-04-19 beta |
|
2006-04-13 beta |
|
2006-04-07 beta |
|
2006-04-07 beta |
|
2006-02-27 beta |
|
2005-09-13 stable |
|
2005-08-29 stable |
|
2005-08-07 stable |
|
2005-05-28 stable |
|
2005-03-07 stable |
|
2005-02-23 beta |
|
2004-12-30 beta |
|
2004-10-27 beta |
|
2004-07-12 alpha |
|
2004-07-11 alpha |
|
2004-07-11 alpha |
|
2004-04-23 alpha |
|
2004-04-21 alpha |