Commit 80564a9a by Qiang Xue

fixed wrong file name.

parent 56c46f62
...@@ -57,7 +57,7 @@ Key Concepts ...@@ -57,7 +57,7 @@ Key Concepts
* [Properties](concept-properties.md) * [Properties](concept-properties.md)
* [Events](concept-events.md) * [Events](concept-events.md)
* [Behaviors](concept-behaviors.md) * [Behaviors](concept-behaviors.md)
* [Configurations](concept-configs.md) * [Configurations](concept-configurations.md)
* [Aliases](concept-aliases.md) * [Aliases](concept-aliases.md)
* [Class Autoloading](concept-autoloading.md) * [Class Autoloading](concept-autoloading.md)
* [Service Locator](concept-service-locator.md) * [Service Locator](concept-service-locator.md)
......
...@@ -35,8 +35,8 @@ Yii::setAlias('@foobar', '@foo/bar'); ...@@ -35,8 +35,8 @@ Yii::setAlias('@foobar', '@foo/bar');
Root aliases are usually defined during the [bootstrapping](runtime-bootstrapping.md) stage. 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 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` For convenience, [Application](structure-applications.md) provides a writable property named `aliases`
that you can configure in the application [configuration](concept-configs.md), like the following, that you can configure in the application [configuration](concept-configurations.md), like the following,
```php ```php
return [ return [
...@@ -115,7 +115,7 @@ The following is the list of the predefined aliases: ...@@ -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), 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 while the rest of the aliases are defined in the application constructor when applying the application
[configuration](concept-configs.md). [configuration](concept-configurations.md).
Extension Aliases Extension Aliases
......
...@@ -98,7 +98,7 @@ class User extends ActiveRecord ...@@ -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-configurations.md).
Each behavior configuration can be either a behavior class name or a configuration array. 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. You may associate a name with a behavior by specifying the array key corresponding to the behavior configuration.
......
...@@ -61,7 +61,7 @@ class MyClass extends Object ...@@ -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-configurations.md) when they are being created. For example,
```php ```php
$component = new MyClass(1, 2, ['prop1' => 3, 'prop2' => 4]); $component = new MyClass(1, 2, ['prop1' => 3, 'prop2' => 4]);
......
...@@ -105,7 +105,7 @@ $object = Yii::createObject([ ...@@ -105,7 +105,7 @@ $object = Yii::createObject([
], [$param1, $param2]); ], [$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-configurations.md) chapter.
Events Events
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment