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
28403dd3
Commit
28403dd3
authored
Jun 18, 2014
by
zxcq544
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
concept configurations on russian and small typo fix to english version
parent
a8423bba
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
concept-configurations.md
docs/guide-ru/concept-configurations.md
+0
-0
concept-configurations.md
docs/guide/concept-configurations.md
+2
-2
No files found.
docs/guide-ru/concept-configurations.md
0 → 100644
View file @
28403dd3
This diff is collapsed.
Click to expand it.
docs/guide/concept-configurations.md
View file @
28403dd3
...
...
@@ -58,7 +58,7 @@ where
Notice that the array keys are formed by prefixing event names with
`on `
. Please refer to
the
[
Events
](
concept-events.md
)
section for supported event handler formats.
*
And the
`as behaviorName`
elements specify what
[
behaviors
](
concept-behaviors.md
)
should be attached to the object.
Notice that the array keys are formed by prefixing behavior names with
`
on
`
.
`$behaviorConfig`
represents
Notice that the array keys are formed by prefixing behavior names with
`
as
`
.
`$behaviorConfig`
represents
the configuration for creating a behavior, like a normal configuration as we are describing here.
Below is an example showing a configuration with property initial values, event handlers and behaviors:
...
...
@@ -80,7 +80,7 @@ Below is an example showing a configuration with property initial values, event
## Using Configurations <a name="using-configurations"></a>
Configurations are used in many places in Yii. At the beginning of this section, we have shown how to
use
Configurations are used in many places in Yii. At the beginning of this section, we have shown how to
create an object according to a configuration by using
[
[Yii::createObject()
]
]. In this subsection, we will
describe application configurations and widget configurations - two major usages of configurations.
...
...
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