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

@@ -35,14 +35,14 @@ interface ActiveQueryInterface extends QueryInterface
* This can also be a callable (e.g. anonymous function) that returns the index value based on the given
* row or model data. The signature of the callable should be:
*
* ~~~
* ```php
* // $model is an AR instance when `asArray` is false,
* // or an array of column values when `asArray` is true.
* function ($model)
* {
* // return the index value corresponding to $model
* }
* ~~~
* ```
*
* @return $this the query object itself
*/
@@ -61,7 +61,7 @@ interface ActiveQueryInterface extends QueryInterface
*
* The following are some usage examples:
*
* ~~~
* ```php
* // find customers together with their orders and country
* Customer::find()->with('orders', 'country')->all();
* // find customers together with their orders and the orders' shipping address
@@ -73,7 +73,7 @@ interface ActiveQueryInterface extends QueryInterface
* },
* 'country',
* ])->all();
* ~~~
* ```
*
* @return $this the query object itself
*/