Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
3fdca050
Commit
3fdca050
authored
Jan 04, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
applied fixture command docs from #1762
closes #1762
parent
76b6eb11
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
FixtureController.php
framework/yii/console/controllers/FixtureController.php
+6
-3
No files found.
framework/yii/console/controllers/FixtureController.php
View file @
3fdca050
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment