From 7a9626af3bef5c712901597065745d9572c3f097 Mon Sep 17 00:00:00 2001 From: wei <> Date: Tue, 27 Feb 2007 23:48:49 +0000 Subject: BC: Deprecate TActiveRecord::getRecordFinder() in favour of TActiveRecord::finder(). --- demos/quickstart/protected/controls/Comments/CommentBlock.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demos/quickstart/protected/controls/Comments') diff --git a/demos/quickstart/protected/controls/Comments/CommentBlock.php b/demos/quickstart/protected/controls/Comments/CommentBlock.php index f2f6e9a1..b0f23d47 100644 --- a/demos/quickstart/protected/controls/Comments/CommentBlock.php +++ b/demos/quickstart/protected/controls/Comments/CommentBlock.php @@ -19,9 +19,9 @@ class CommentRecord extends TActiveRecord public static $_tablename='qs_comments'; - public static function finder() + public static function finder($className=__CLASS__) { - return self::getRecordFinder('CommentRecord'); + return parent::finder($className); } } -- cgit v1.2.3