From d3a181c6742a135469c627928872901725e3d0c4 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Mon, 16 Dec 2013 11:03:30 +0100 Subject: [PATCH] fixed controllerMap docs in Module fixes #1541 --- framework/yii/base/Module.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/framework/yii/base/Module.php b/framework/yii/base/Module.php index dcb74d2..126791b 100644 --- a/framework/yii/base/Module.php +++ b/framework/yii/base/Module.php @@ -62,16 +62,16 @@ abstract class Module extends Component * @var array mapping from controller ID to controller configurations. * Each name-value pair specifies the configuration of a single controller. * A controller configuration can be either a string or an array. - * If the former, the string should be the class name or path alias of the controller. + * If the former, the string should be the fully qualified class name of the controller. * If the latter, the array must contain a 'class' element which specifies - * the controller's class name or path alias, and the rest of the name-value pairs + * 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, * * ~~~ * [ - * 'account' => '@app/controllers/UserController', + * 'account' => 'app\controllers\UserController', * 'article' => [ - * 'class' => '@app/controllers/PostController', + * 'class' => 'app\controllers\PostController', * 'pageTitle' => 'something new', * ], * ]