2
I Use This!
Inactive

Commits : Listings

Analyzed about 22 hours ago. based on code collected 2 days ago.
Nov 24, 2025 — Nov 24, 2026
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Update coughphp URL More... about 13 years ago
#4: Remove need for selectDB() after getDb() in complex environments More... about 15 years ago
Add helper script for updating exepected_output from failed tests cases More... about 15 years ago
#2: Add newline before EOF in generated files More... about 15 years ago
#2: Add newline before EOF in generated files More... about 15 years ago
Rename .bzrignore to .gitignore More... about 15 years ago
* Remove deprecated As_Database. * Add additional tests More... almost 16 years ago
Fix CoughCollection::sortByMethods to work properly PHP 5.3.x changes to call_user_func_array. More... almost 16 years ago
Fix CoughCollection::sortByMethods to work properly PHP 5.3.x changes to call_user_func_array. More... almost 16 years ago
Merge branch lp:~lewiszhang/coughphp/1.4-switch-to-phpunit into lp:coughphp/1.4 More... almost 16 years ago
Convert from SimpleTest to PHPUnit. To run the tests: More... almost 16 years ago
* add option to allow forcing select options (eg SQL_NO_CACHE) on a static basis More... almost 16 years ago
* allow specifying a field name in CoughCollection->loadByIds() More... about 16 years ago
Fixed typo in As_SelectQuery::getSelectOptions() [Thanks to Richard Lindsey] More... about 16 years ago
add loadByIds method to CoughCollection More... about 16 years ago
- Added factory-level observers so that database connections aren't required to observe. - Added getHostAndPort() accessor for observers. More... about 16 years ago
As_Database improvements: - Added nested DB transaction support. - Added num rows accessor and corresponding observer gathering. - Improved query logger's backtrace with version using less memory. - Fixed freeResult() warnings by no longer constructing result objects from INSERT/UPDATE/etc. queries. - Fixed some phpDoc switcheroos. More... about 16 years ago
Use tabs, not spaces. More... about 16 years ago
- CoughCollection: - Calling save() on a collection now returns true if all elements saved successfully. - Changed getLast() to return null when there are no items in the collection. - get() now behaves like remove() (works with objects). - add() now behaves like remove() (returns added object). - Improved robustness of removeByKey() (when null key is given). - Improved algorithm for issuing temporary keys: adding a new object twice now adds it to the collection only once. - CoughObject: - Improved toggling of isNew. - Improved save(): chains such as collection saving and reseting modified fields are only executed if save was successful. - Fixed issue when cloning objects that make use of comparing modified fields to their original values. - setModifiedField() now saves the original value for later retrieval; it did this before, but multiple calls to set*() would override the *true* original value. - Added getOldFieldValue($fieldName): use for retriving original value for a field (use when writing app-based save() triggers). - Added isFieldDifferent($fieldName): shortcut for finding out if a field wasn't just modified, but was modified to a different value (use when writing app-based save() triggers). - CoughDatabaseFactory: - Added saveToMemento() and restoreFromMemento(). More... about 16 years ago
* use extension class name instead of CoughObject in constructBy* methods More... about 16 years ago
* add CoughCollection->loadByHash * modify CoughObject->constructByKey to use $db->getSelectQuery(); * pass mysqli stmt and result objects by reference More... about 16 years ago
* modify cough collection to pass unit tests in php 5.3 More... over 16 years ago
* accept db changes for transaction, select query changes for transaction * don't set pk as modified after we read it from db More... over 16 years ago
* make fieldDefinitions static * generate getFieldDefinitions() method on generated classes * use $this->getFieldDefinitions() in CoughObject * add 'type' to fieldDefinitions array * fix unit tests to match generated code More... over 16 years ago
* revert As_DatabaseQueryLogger.class.php to good state More... over 16 years ago
* pass unit tests More... over 16 years ago
add CoughObject::hasFieldName() More... over 16 years ago
* add __wakeup magic function to As_Database2 to reconnect to db after unserialization. More... over 16 years ago
* allow turning on logBacktraces in As_DatabaseQueryLogger * if the param array passed in to queryPreparedStmt is empty, recall query instead More... over 16 years ago
* check if there's any metadata from a result set before calling methods on it More... over 16 years ago