Commit Graph

6 Commits

Author SHA1 Message Date
786076b5c6 Add features on allFor to all and improve code through reuse. 2011-12-23 01:32:21 +00:00
2cddde6d08 Fix conditional passing in DatabaseObject 2011-12-22 22:02:23 +00:00
38b687f420 Fix naming convention for class methods 2011-12-21 11:22:08 +00:00
fd2f3af5d0 Add support for custom WHERE restrictions
DatabaseObject::all_for() now supports additional constraints (with
variables) to further filter the results returned.
2011-12-20 19:10:22 +00:00
414b696f60 Fix bug in save() method's UPDATE query generation 2011-12-19 19:28:40 +00:00
537583a231 Add DatabaseObject base class
DatabaseObject exposes common behaviours for database table wrapper
classes.
2011-12-19 12:00:08 +00:00