SwatDBDataObject: - Implement a generic saveToDBInternal() method. - Add private getPublicProperties() that returns all public properties and internal fields. - Update *Modified() methods to use getPublicProperties() instead of get_object_vars() - Add an automagical __set() method and protected setInternalValue() to allow setting of internal fields. - Add private quoteValue() and guessType() helper methods. - Add protected setTable() method for use when a single dataobject sub-class is used with multiple tables. - Add protected getId() method to return the current value of the id_field. - Override SwatObject::__toString() to produce cleaner debug output.
SwatDBDataObject:
- Implement a generic saveToDBInternal() method.
- Add private getPublicProperties() that returns all public properties and internal fields.
- Update *Modified() methods to use getPublicProperties() instead of get_object_vars()
- Add an automagical __set() method and protected setInternalValue() to allow setting of internal fields.
- Add private quoteValue() and guessType() helper methods.
- Add protected setTable() method for use when a single dataobject sub-class is used with multiple tables.
- Add protected getId() method to return the current value of the id_field.
- Override SwatObject::__toString() to produce cleaner debug output.


svn commit r4509

silverorange/swat,silverorange/swat