Global DOCS update: ~~~ replaced with ```

This commit is contained in:
SilverFire - Dmitry Naumenko
2015-12-02 23:15:28 +02:00
parent c96cbfa8e6
commit cd87d67f34
89 changed files with 399 additions and 398 deletions

View File

@ -17,7 +17,7 @@ use yii\test\FixtureTrait;
/**
* Manages fixture data loading and unloading.
*
* ~~~
* ```
* #load fixtures from UsersFixture class with default namespace "tests\unit\fixtures"
* yii fixture/load User
*
@ -32,7 +32,7 @@ use yii\test\FixtureTrait;
*
* #load fixtures with different namespace.
* yii fixture/load User --namespace=alias\my\custom\namespace\goes\here
* ~~~
* ```
*
* The `unload` sub-command can be used similarly to unload fixtures.
*
@ -74,7 +74,7 @@ class FixtureController extends Controller
* Loads the specified fixture data.
* For example,
*
* ~~~
* ```
* # load the fixture data specified by User and UserProfile.
* # any existing fixture data will be removed first
* yii fixture/load User UserProfile
@ -84,7 +84,7 @@ class FixtureController extends Controller
*
* # load all fixtures except User and UserProfile
* yii fixture/load "*" -User -UserProfile
* ~~~
* ```
*
* @throws Exception if the specified fixture does not exist.
*/
@ -155,7 +155,7 @@ class FixtureController extends Controller
* Unloads the specified fixtures.
* For example,
*
* ~~~
* ```
* # unload the fixture data specified by User and UserProfile.
* yii fixture/unload User UserProfile
*
@ -164,7 +164,7 @@ class FixtureController extends Controller
*
* # unload all fixtures except User and UserProfile
* yii fixture/unload "*" -User -UserProfile
* ~~~
* ```
*
* @throws Exception if the specified fixture does not exist.
*/
@ -434,7 +434,7 @@ class FixtureController extends Controller
* If fixture is prefixed with "-", for example "-User", that means that fixture should not be loaded,
* if it is not prefixed it is considered as one to be loaded. Returns array:
*
* ~~~
* ```php
* [
* 'apply' => [
* 'User',
@ -445,7 +445,7 @@ class FixtureController extends Controller
* ...
* ],
* ]
* ~~~
* ```
* @param array $fixtures
* @return array fixtures array with 'apply' and 'except' elements.
*/