Details
Description
The idea is to make consistent static methods for fetching of grading objects from db. I have discussed it previously with Nicolas and we agreed on new fetch_all() instead of fet_all_using_this() and some other minor improvements.
improved static factory methods of grade obejcts fetch() and fetch_all(); implemented default values of grade objects, fixed null values for some properties that are not required - unit tests included, tested with PHP4 and PHP5; reimplemented insert(); cleanup in public api