diff options
author | xue <> | 2007-03-06 20:08:42 +0000 |
---|---|---|
committer | xue <> | 2007-03-06 20:08:42 +0000 |
commit | 2ab695a553abf26e530f5e97c1ea357233d80998 (patch) | |
tree | 67ed18fd088ac64d715d1531499aa53ff4249bf6 /UPGRADE | |
parent | 8b60744fc6d3bfe78838bff297f29124b444cbaa (diff) |
removed getRecordFinder.
Diffstat (limited to 'UPGRADE')
-rw-r--r-- | UPGRADE | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -4,10 +4,6 @@ !!!IMPORTANT!!!
-After installing the framework, remember to delete everything under
-your PRADO application's assets and runtime directories.
-
-
The following upgrading instructions are cumulative. That is,
if you want to upgrade from version A to version C and there is
version B between A and C, you need to following the instructions
@@ -15,8 +11,13 @@ for both A and B. Upgrading from v3.1a
---------------------
-- TActiveRecord::getRecordFinder() is deprecated in favour of TActiveRecord::finder().
-
+- The signature of TActiveRecord::finder() is changed. All TActiveRecord-descendant
+ classes that override this method will be affected. Please use the
+ following code to override the method:
+ public static function finder($className=__CLASS__)
+ {
+ return parent::finder($className);
+ }
Upgrading from v3.0.x
---------------------
|