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

@ -41,12 +41,12 @@ class FragmentCache extends Widget
* This can be either a [[Dependency]] object or a configuration array for creating the dependency object.
* For example,
*
* ~~~
* ```php
* [
* 'class' => 'yii\caching\DbDependency',
* 'sql' => 'SELECT MAX(updated_at) FROM post',
* ]
* ~~~
* ```
*
* would make the output cache depends on the last modified time of all posts.
* If any post has its modification time changed, the cached content would be invalidated.
@ -58,10 +58,11 @@ class FragmentCache extends Widget
* The following variation setting will cause the content to be cached in different versions
* according to the current application language:
*
* ~~~
* ```php
* [
* Yii::$app->language,
* ]
* ```
*/
public $variations;
/**