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

@@ -25,7 +25,7 @@ use yii\di\Instance;
*
* SqlDataProvider may be used in the following way:
*
* ~~~
* ```php
* $count = Yii::$app->db->createCommand('
* SELECT COUNT(*) FROM user WHERE status=:status
* ', [':status' => 1])->queryScalar();
@@ -52,7 +52,7 @@ use yii\di\Instance;
*
* // get the user records in the current page
* $models = $dataProvider->getModels();
* ~~~
* ```
*
* Note: if you want to use the pagination feature, you must configure the [[totalCount]] property
* to be the total number of rows (without pagination). And if you want to use the sorting feature,