From fba0e0436578ae24f4cbfde446eb13cf7f1a1d35 Mon Sep 17 00:00:00 2001 From: Alexander Kochetov Date: Thu, 9 Jan 2014 07:47:39 +0400 Subject: [PATCH] ActiveRecord::tableName() comment fixed --- framework/yii/db/ActiveRecord.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/framework/yii/db/ActiveRecord.php b/framework/yii/db/ActiveRecord.php index 960e1fb..aec4407 100644 --- a/framework/yii/db/ActiveRecord.php +++ b/framework/yii/db/ActiveRecord.php @@ -177,8 +177,9 @@ class ActiveRecord extends BaseActiveRecord /** * Declares the name of the database table associated with this AR class. * By default this method returns the class name as the table name by calling [[Inflector::camel2id()]] - * with prefix 'tbl_'. For example, 'Customer' becomes 'tbl_customer', and 'OrderItem' becomes - * 'tbl_order_item'. You may override this method if the table is not named after this convention. + * with prefix [[DbConnection::tablePrefix]]. For example if [[DbConnection::tablePrefix]] is 'tbl_', + * 'Customer' becomes 'tbl_customer', and 'OrderItem' becomes 'tbl_order_item'. You may override this method + * if the table is not named after this convention. * @return string the table name */ public static function tableName()