Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
d3a181c6
Commit
d3a181c6
authored
Dec 16, 2013
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed controllerMap docs in Module
fixes #1541
parent
6ed8d176
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Module.php
framework/yii/base/Module.php
+4
-4
No files found.
framework/yii/base/Module.php
View file @
d3a181c6
...
...
@@ -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',
* ],
* ]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment