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
80564a9a
Commit
80564a9a
authored
May 03, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed wrong file name.
parent
56c46f62
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
README.md
docs/guide/README.md
+1
-1
concept-aliases.md
docs/guide/concept-aliases.md
+3
-3
concept-behaviors.md
docs/guide/concept-behaviors.md
+1
-1
concept-components.md
docs/guide/concept-components.md
+1
-1
concept-configurations.md
docs/guide/concept-configurations.md
+0
-0
intro-upgrade-from-v1.md
docs/guide/intro-upgrade-from-v1.md
+1
-1
No files found.
docs/guide/README.md
View file @
80564a9a
...
...
@@ -57,7 +57,7 @@ Key Concepts
*
[
Properties
](
concept-properties.md
)
*
[
Events
](
concept-events.md
)
*
[
Behaviors
](
concept-behaviors.md
)
*
[
Configurations
](
concept-configs.md
)
*
[
Configurations
](
concept-config
uration
s.md
)
*
[
Aliases
](
concept-aliases.md
)
*
[
Class Autoloading
](
concept-autoloading.md
)
*
[
Service Locator
](
concept-service-locator.md
)
...
...
docs/guide/concept-aliases.md
View file @
80564a9a
...
...
@@ -35,8 +35,8 @@ Yii::setAlias('@foobar', '@foo/bar');
Root aliases are usually defined during the
[
bootstrapping
](
runtime-bootstrapping.md
)
stage.
For example, you may call
[
[Yii::setAlias()
]
] in the
[
entry script
](
structure-entry-scripts.md
)
.
For convenience,
[
Application
](
structure-applications.md
)
provides writable property named
`aliases`
that you can configure in the application
[
configuration
](
concept-configs.md
)
, like the following,
For convenience,
[
Application
](
structure-applications.md
)
provides
a
writable property named
`aliases`
that you can configure in the application
[
configuration
](
concept-config
uration
s.md
)
, like the following,
```
php
return
[
...
...
@@ -115,7 +115,7 @@ The following is the list of the predefined aliases:
The
`@yii`
alias is defined when you include the
`Yii.php`
file in your
[
entry script
](
structure-entry-scripts.md
)
,
while the rest of the aliases are defined in the application constructor when applying the application
[
configuration
](
concept-configs.md
)
.
[
configuration
](
concept-config
uration
s.md
)
.
Extension Aliases
...
...
docs/guide/concept-behaviors.md
View file @
80564a9a
...
...
@@ -98,7 +98,7 @@ class User extends ActiveRecord
}
```
The
[
[yii\base\Component::behaviors()|behaviors()
]
] method should return a list of behavior
[
configurations
](
concept-configs.md
)
.
The
[
[yii\base\Component::behaviors()|behaviors()
]
] method should return a list of behavior
[
configurations
](
concept-config
uration
s.md
)
.
Each behavior configuration can be either a behavior class name or a configuration array.
You may associate a name with a behavior by specifying the array key corresponding to the behavior configuration.
...
...
docs/guide/concept-components.md
View file @
80564a9a
...
...
@@ -61,7 +61,7 @@ class MyClass extends Object
}
```
This will make your components
[
configurable
](
concept-configs.md
)
when they are being created. For example,
This will make your components
[
configurable
](
concept-config
uration
s.md
)
when they are being created. For example,
```
php
$component
=
new
MyClass
(
1
,
2
,
[
'prop1'
=>
3
,
'prop2'
=>
4
]);
...
...
docs/guide/
basic-config
s.md
→
docs/guide/
concept-configuration
s.md
View file @
80564a9a
File moved
docs/guide/intro-upgrade-from-v1.md
View file @
80564a9a
...
...
@@ -105,7 +105,7 @@ $object = Yii::createObject([
],
[
$param1
,
$param2
]);
```
More details about configurations can be found in the
[
Object Configurations
](
concept-configs.md
)
chapter.
More details about configurations can be found in the
[
Object Configurations
](
concept-config
uration
s.md
)
chapter.
Events
...
...
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