Browse Source

fixed wrong file name.

tags/2.0.0-rc
Qiang Xue 11 years ago
parent
commit
80564a9a69
  1. 2
      docs/guide/README.md
  2. 6
      docs/guide/concept-aliases.md
  3. 2
      docs/guide/concept-behaviors.md
  4. 2
      docs/guide/concept-components.md
  5. 0
      docs/guide/concept-configurations.md
  6. 2
      docs/guide/intro-upgrade-from-v1.md

2
docs/guide/README.md

@ -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)

6
docs/guide/concept-aliases.md

@ -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:
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

2
docs/guide/concept-behaviors.md

@ -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.

2
docs/guide/concept-components.md

@ -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]);

0
docs/guide/basic-configs.md → docs/guide/concept-configurations.md

2
docs/guide/intro-upgrade-from-v1.md

@ -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

Loading…
Cancel
Save