|
|
|
@ -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() |
|
|
|
|