summaryrefslogtreecommitdiff
path: root/UPGRADE
diff options
context:
space:
mode:
authorxue <>2007-03-06 20:08:42 +0000
committerxue <>2007-03-06 20:08:42 +0000
commit2ab695a553abf26e530f5e97c1ea357233d80998 (patch)
tree67ed18fd088ac64d715d1531499aa53ff4249bf6 /UPGRADE
parent8b60744fc6d3bfe78838bff297f29124b444cbaa (diff)
removed getRecordFinder.
Diffstat (limited to 'UPGRADE')
-rw-r--r--UPGRADE13
1 files changed, 7 insertions, 6 deletions
diff --git a/UPGRADE b/UPGRADE
index aff235b5..9415e94f 100644
--- a/UPGRADE
+++ b/UPGRADE
@@ -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
---------------------