» Version | » Information |
---|---|
2015-11-10 stable |
|
2015-04-08 stable |
|
2014-04-22 stable |
|
2013-04-05 stable |
|
2013-04-05 stable |
|
2013-04-03 stable |
|
2012-04-27 stable |
|
2011-08-29 stable |
|
2010-07-07 stable |
|
2010-06-21 stable |
|
2010-01-15 stable |
|
2009-12-03 stable |
|
2009-08-12 stable |
|
2009-07-16 stable |
|
2009-03-19 stable |
|
2009-03-12 stable |
|
2008-01-29 stable |
|
2007-07-11 stable |
|
2007-07-10 stable |
|
2006-12-14 stable |
|
2006-03-05 stable |
|
2006-03-03 stable |
|
2006-01-20 stable |
|
2006-01-20 stable |
|
2005-12-28 stable |
|
2005-07-07 stable |
|
2005-06-25 stable |
|
2005-03-24 stable |
|
2005-03-22 stable |
|
2005-03-21 stable |
|
2005-03-15 stable |
|
2005-03-12 stable |
|
2005-03-11 stable |
|
2005-03-06 stable |
|
2005-03-04 stable |
|
2005-03-01 stable |
|
2004-08-28 stable |
|
2004-08-08 stable |
|
2004-08-06 stable |
|
2004-06-03 stable |
|
2004-06-02 stable |
|
2004-01-29 stable |
|
2004-01-24 stable |
|
2004-01-21 stable |
|
2004-01-20 stable |
|
2003-12-19 stable |
|
1.3 |
Easy InstallNot sure? Get more info. pear install DB_DataObject-1.3 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/DB_DataObject-1.3 Release date: 2003-11-14 21:47 UTC Release state: stable Release uploaded by: alan_k Changelog: New Features - Inserts and updates do not use keys in the data creation part of the query (Markus Wolff) - MsSQL native get_last_insert ID using SELECT @@IDENTITY ** you may want to consider using this with transactions eg. $dataobject->query('BEGIN') and $dataobject->query('COMMIT') to ensure thread safety. (Markus Wolff) - DB_DataObject_Cast - a experimental generic casting feature for assigning variables * Common usages: // blobs $dataObject->someblobfield = DB_DataObject_Cast::blob(file_get_contents('xxx.jpg')); $dataObject->someblobfield = DB_DataObject_Cast::string('xxxxx'); // dates? $dataObject->at_date = DB_DataObject_Cast::date('12/12/2000'); //Human $dataObject->at_date = DB_DataObject_Cast::date('2000-12-12'); //ISO $dataObject->at_date = DB_DataObject_Cast::date(2000,12,12); //YYYY,dd,mm $d2 = DB_DataObject_Cast::date(); // today! // some addition $dataObject->expires = DB_DataObject_Cast::date($d1->year, $d1->month+30, $d1->day+30); // raw sql???? $dataObject->maxids = DB_DataObject_Cast::sql('max(id) > 12'); $dataObject->emptyfield = DB_DataObject_Cast::sql('NULL'); You can extend this object to provide your own datatypes.. - PHP5 Compatibility Return values should work with PHP5beta2 Overload (__call) should work with PHP5beta2 - table() and keys() Allow setting of data with a value (so you can use dataobjects without extended instances.) - factory/ getLinks and autoloading Will use the full path location in config to check if the file exists, after that it is included without warnings turned off.. (autoloading check to see if class exists first - should be faster) Fixes: - Validate is an optional dependency (Arnaud Limbourg) - Bug #228, BOOL type on postgresql correctly quoted. - Bug #133, No error is raised when calling fetch with no data returned, just produces a debug warning now - Bug #172,Turning of Overload If you define DB_DATAOBJECT_NO_OVERLOAD to any value, then dataobjects will not be overloaded, This is usefull when working with ZendOptimizer, that may segfault with certain optimization levels Dependencies: |
2003-08-25 stable |
|
2003-08-09 stable |
|
2003-07-31 stable |
|
2003-07-18 stable |
|
2003-07-16 stable |
|
2003-05-22 stable |
|
2003-04-17 stable |
|
2003-03-12 stable |
|
2003-03-11 stable |
|
2003-02-25 stable |
|
2003-02-06 stable |
|
2003-01-23 stable |
|
2003-01-22 stable |
|
2003-01-21 stable |
|
2002-12-09 stable |
|
2002-12-06 stable |
|
2002-12-05 stable |
|
2002-09-10 beta |
|
2002-09-07 beta |
|
2002-08-21 beta |
|
2002-08-16 beta |
|
2002-07-12 beta |