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

@ -74,7 +74,7 @@ class Module extends ServiceLocator
* the controller's fully qualified class name, and the rest of the name-value pairs
* in the array are used to initialize the corresponding controller properties. For example,
*
* ~~~
* ```php
* [
* 'account' => 'app\controllers\UserController',
* 'article' => [
@ -82,7 +82,7 @@ class Module extends ServiceLocator
* 'pageTitle' => 'something new',
* ],
* ]
* ~~~
* ```
*/
public $controllerMap = [];
/**
@ -293,12 +293,12 @@ class Module extends ServiceLocator
* (must start with '@') and the array values are the corresponding paths or aliases.
* For example,
*
* ~~~
* ```php
* [
* '@models' => '@app/models', // an existing alias
* '@backend' => __DIR__ . '/../backend', // a directory
* ]
* ~~~
* ```
*/
public function setAliases($aliases)
{
@ -414,7 +414,7 @@ class Module extends ServiceLocator
*
* The following is an example for registering two sub-modules:
*
* ~~~
* ```php
* [
* 'comment' => [
* 'class' => 'app\modules\comment\CommentModule',
@ -422,7 +422,7 @@ class Module extends ServiceLocator
* ],
* 'booking' => ['class' => 'app\modules\booking\BookingModule'],
* ]
* ~~~
* ```
*
* @param array $modules modules (id => module configuration or instances)
*/