Changeset 1750 for trunk/UPGRADE
- Timestamp:
- 03/06/2007 02:40:51 PM (21 months ago)
- Files:
-
- 1 modified
-
trunk/UPGRADE (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/UPGRADE
r1749 r1750 12 12 Upgrading from v3.1a 13 13 --------------------- 14 - The signature of TActiveRecord::finder() is changed. All TActiveRecord-descendant15 classes that override this method will be affected. Please use the16 following code to override the method:14 - The signature of TActiveRecord::finder() is changed. This affects 15 all TActiveRecord-descendant classes that override this method. 16 Please use the following code to override the method: 17 17 public static function finder($className=__CLASS__) 18 18 { 19 19 return parent::finder($className); 20 20 } 21 22 - The way to specify the table name for an active record class is changed. 23 Previously, it used the static class member '_tablename'. 24 Now it uses class constant as follows: 25 class UserRecord extends TActiveRecord 26 { 27 const TABLE='users_table'; 28 } 21 29 22 30 Upgrading from v3.0.x
