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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
9f467342
Commit
9f467342
authored
Jul 29, 2014
by
Bazilio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed typo and some links
parent
2fc8cb45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
structure-applications.md
docs/guide/structure-applications.md
+5
-5
No files found.
docs/guide/structure-applications.md
View file @
9f467342
...
...
@@ -151,7 +151,7 @@ For example,
During the bootstrapping process, each component will be instantiated. If the component class
implements [[yii\base\BootstrapInterface]], its [[yii\base\BootstrapInterface::bootstrap()|bootstrap()]] method
will be also
be
called.
will be also called.
Another practical example is in the application configuration for the [Basic Application Template](start-installation.md),
where the `debug` and `gii` modules are configured as bootstrapping components when the application is running
...
...
@@ -391,11 +391,11 @@ does not specify one. The route may consist of child module ID, controller ID, a
For example, `help`, `post/create`, `admin/post/create`. If action ID is not given, it will take the default
value as specified in [[yii\base\Controller::defaultAction]].
For [
yii\web\Application|Web applications
], the default value of this property is `'site'`, which means
For [
[yii\web\Application|Web applications]
], the default value of this property is `'site'`, which means
the `SiteController` controller and its default action should be used. As a result, if you access
the application without specifying a route, it will show the result of `app\controllers\SiteController::actionIndex()`.
For [
yii\console\Application|console applications
], the default value is `'help'`, which means the core command
For [
[yii\console\Application|console applications]
], the default value is `'help'`, which means the core command
[[yii\console\controllers\HelpController::actionIndex()]] should be used. As a result, if you run the command `yii`
without providing any arguments, it will display the help information.
...
...
@@ -556,7 +556,7 @@ For example,
```
Note that the same `beforeAction` event is also triggered by [modules](structure-modules.md)
and [controllers
)
(structure-controllers.md). Application objects are the first ones
and [controllers
]
(structure-controllers.md). Application objects are the first ones
triggering this event, followed by modules (if any), and finally controllers. If an event handler
sets [[yii\base\ActionEvent::isValid]] to be `false`, all the following events will NOT be triggered.
...
...
@@ -582,7 +582,7 @@ For example,
```
Note that the same
`afterAction`
event is also triggered by
[
modules
](
structure-modules.md
)
and
[
controllers
)
(structure-controllers.md). These objects trigger this event in the reverse order
and
[
controllers
]
(
structure-controllers.md
)
. These objects trigger this event in the reverse order
as for that of
`beforeAction`
. That is, controllers are the first objects triggering this event,
followed by modules (if any), and finally applications.
...
...
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