tableName() public static method
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 yii\helpers\Inflector::camel2id() with prefix yii\db\Connection::$tablePrefix. For example if yii\db\Connection::$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.
public static string tableName ( ) | ||
---|---|---|
return | string |
The table name |
Please login to continue.