@@ -38,18 +38,18 @@ |
||
| 38 | 38 | // Public Static Methods |
| 39 | 39 | // ========================================================================= |
| 40 | 40 | |
| 41 | - /** |
|
| 42 | - * Declares the name of the database table associated with this AR class. |
|
| 43 | - * By default this method returns the class name as the table name by calling [[Inflector::camel2id()]] |
|
| 44 | - * with prefix [[Connection::tablePrefix]]. For example if [[Connection::tablePrefix]] is `tbl_`, |
|
| 45 | - * `Customer` becomes `tbl_customer`, and `OrderItem` becomes `tbl_order_item`. You may override this method |
|
| 46 | - * if the table is not named after this convention. |
|
| 47 | - * |
|
| 48 | - * By convention, tables created by plugins should be prefixed with the plugin |
|
| 49 | - * name and an underscore. |
|
| 50 | - * |
|
| 51 | - * @return string the table name |
|
| 52 | - */ |
|
| 41 | + /** |
|
| 42 | + * Declares the name of the database table associated with this AR class. |
|
| 43 | + * By default this method returns the class name as the table name by calling [[Inflector::camel2id()]] |
|
| 44 | + * with prefix [[Connection::tablePrefix]]. For example if [[Connection::tablePrefix]] is `tbl_`, |
|
| 45 | + * `Customer` becomes `tbl_customer`, and `OrderItem` becomes `tbl_order_item`. You may override this method |
|
| 46 | + * if the table is not named after this convention. |
|
| 47 | + * |
|
| 48 | + * By convention, tables created by plugins should be prefixed with the plugin |
|
| 49 | + * name and an underscore. |
|
| 50 | + * |
|
| 51 | + * @return string the table name |
|
| 52 | + */ |
|
| 53 | 53 | public static function tableName() |
| 54 | 54 | { |
| 55 | 55 | return '{{%spoon_blocktypes}}'; |