diff options
author | wei <> | 2007-02-27 23:48:49 +0000 |
---|---|---|
committer | wei <> | 2007-02-27 23:48:49 +0000 |
commit | 7a9626af3bef5c712901597065745d9572c3f097 (patch) | |
tree | b63b6c5ef530004ac40d57c2b58ddca773bea05d /framework/Data/ActiveRecord/TActiveRecordConfig.php | |
parent | 4c86659bc90d9134b0f901572c5417aa7d9cec18 (diff) |
BC: Deprecate TActiveRecord::getRecordFinder() in favour of TActiveRecord::finder().
Diffstat (limited to 'framework/Data/ActiveRecord/TActiveRecordConfig.php')
-rw-r--r-- | framework/Data/ActiveRecord/TActiveRecordConfig.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Data/ActiveRecord/TActiveRecordConfig.php b/framework/Data/ActiveRecord/TActiveRecordConfig.php index 5670e64c..3f16287d 100644 --- a/framework/Data/ActiveRecord/TActiveRecordConfig.php +++ b/framework/Data/ActiveRecord/TActiveRecordConfig.php @@ -45,9 +45,9 @@ Prado::using('System.Data.TDataSourceConfig'); * public $blog_name;
* public $blog_author;
*
- * public static function finder()
+ * public static function finder($className=__CLASS__)
* {
- * return self::getRecordFinder('Blogs');
+ * return parent::finder($className);
* }
* }
* </code>
|