Commit 3fdca050 by Carsten Brandt

applied fixture command docs from #1762

closes #1762
parent 76b6eb11
...@@ -98,8 +98,9 @@ class FixtureController extends Controller ...@@ -98,8 +98,9 @@ class FixtureController extends Controller
} }
/** /**
* Apply given fixture to the table. Fixture name can be the same as the table name or * Apply given fixture to the table. You can load several fixtures specifying
* you can specify table name as a second parameter. * their names separated with commas, like: tbl_user,tbl_profile. Be sure there is no
* whitespace between tables names.
* @param array $fixtures * @param array $fixtures
* @throws \yii\console\Exception * @throws \yii\console\Exception
*/ */
...@@ -121,7 +122,9 @@ class FixtureController extends Controller ...@@ -121,7 +122,9 @@ class FixtureController extends Controller
} }
/** /**
* Truncate given table and clear all fixtures from it. * Truncate given table and clear all fixtures from it. You can clear several tables specifying
* their names separated with commas, like: tbl_user,tbl_profile. Be sure there is no
* whitespace between tables names.
* @param array|string $tables * @param array|string $tables
*/ */
public function actionClear(array $tables) public function actionClear(array $tables)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment