Browse Source

[ci skip] Guide typos fixed

tags/2.0.1
munawer 10 years ago committed by Alexander Makarov
parent
commit
33b760eca2
  1. 4
      extensions/jui/CHANGELOG.md
  2. 4
      extensions/redis/README.md
  3. 2
      extensions/smarty/CHANGELOG.md
  4. 2
      framework/base/Security.php
  5. 2
      framework/console/controllers/FixtureController.php

4
extensions/jui/CHANGELOG.md

@ -17,7 +17,7 @@ Yii Framework 2 jui extension Change Log
--------------------------- ---------------------------
- Chg #1551: Jui datepicker has a new property `$dateFormat` which is used to set the clientOption `dateFormat`. - Chg #1551: Jui datepicker has a new property `$dateFormat` which is used to set the clientOption `dateFormat`.
The new property does not use the datepicker formatting synax anymore but uses the same as the `yii\i18n\Formatter` The new property does not use the datepicker formatting syntax anymore but uses the same as the `yii\i18n\Formatter`
class which is the ICU syntax for date formatting, you have to adjust all your DatePicker widgets to use class which is the ICU syntax for date formatting, you have to adjust all your DatePicker widgets to use
the new property instead of setting the dateFormat in the clientOptions (cebe) the new property instead of setting the dateFormat in the clientOptions (cebe)
@ -27,7 +27,7 @@ Yii Framework 2 jui extension Change Log
- Bug #1550: fixed the issue that JUI input widgets did not property input IDs. (qiangxue) - Bug #1550: fixed the issue that JUI input widgets did not property input IDs. (qiangxue)
- Bug #2514: Jui sortable clientEvents were not working because of wrong naming assumptions. (cebe) - Bug #2514: Jui sortable clientEvents were not working because of wrong naming assumptions. (cebe)
- Enh #2573: Jui datepicker now uses the current appliaction language by default. (andy5) - Enh #2573: Jui datepicker now uses the current application language by default. (andy5)
2.0.0-alpha, December 1, 2013 2.0.0-alpha, December 1, 2013
----------------------------- -----------------------------

4
extensions/redis/README.md

@ -2,7 +2,7 @@ Redis Cache, Session and ActiveRecord for Yii 2
=============================================== ===============================================
This extension provides the [redis](http://redis.io/) key-value store support for the Yii2 framework. This extension provides the [redis](http://redis.io/) key-value store support for the Yii2 framework.
It includes a `Cache` and `Session` storage handler and implents the `ActiveRecord` pattern that allows It includes a `Cache` and `Session` storage handler and implements the `ActiveRecord` pattern that allows
you to store active records in redis. you to store active records in redis.
To use this extension, you have to configure the Connection class in your application configuration: To use this extension, you have to configure the Connection class in your application configuration:
@ -87,7 +87,7 @@ return [
Using the Session component Using the Session component
--------------------------- ---------------------------
To use the `Session` component, in addtition to configuring the connection as described above, To use the `Session` component, in addition to configuring the connection as described above,
you also have to configure the `session` component to be `yii\redis\Session`: you also have to configure the `session` component to be `yii\redis\Session`:
```php ```php

2
extensions/smarty/CHANGELOG.md

@ -19,7 +19,7 @@ Yii Framework 2 smarty extension Change Log
- Enh #4619 (samdark, hwmaier) - Enh #4619 (samdark, hwmaier)
- New functions: - New functions:
- `url` generates absolute URL. - `url` generates absolute URL.
- `set` allows setting commonly used view paramters: `title`, `theme` and `layout`. - `set` allows setting commonly used view parameters: `title`, `theme` and `layout`.
- `meta` registers meta tag. - `meta` registers meta tag.
- `registerJsFile` registers JavaScript file. - `registerJsFile` registers JavaScript file.
- `registerCssFile` registers CSS file. - `registerCssFile` registers CSS file.

2
framework/base/Security.php

@ -85,7 +85,7 @@ class Security extends Component
* The encrypted data includes a keyed message authentication code (MAC) so there is no need * The encrypted data includes a keyed message authentication code (MAC) so there is no need
* to hash input or output data. * to hash input or output data.
* > Note: Avoid encrypting with passwords wherever possible. Nothing can protect against * > Note: Avoid encrypting with passwords wherever possible. Nothing can protect against
* poor-quality or compromosed passwords. * poor-quality or compromised passwords.
* @param string $data the data to encrypt * @param string $data the data to encrypt
* @param string $password the password to use for encryption * @param string $password the password to use for encryption
* @return string the encrypted data * @return string the encrypted data

2
framework/console/controllers/FixtureController.php

@ -423,7 +423,7 @@ class FixtureController extends Controller
/** /**
* Filters fixtures by splitting them in two categories: one that should be applied and not. * Filters fixtures by splitting them in two categories: one that should be applied and not.
* If fixture is prefixed with "-", for example "-User", that means that fixture should not be loaded, * If fixture is prefixed with "-", for example "-User", that means that fixture should not be loaded,
* if it is not prefixed it is considered as one to be loaded. Returs array: * if it is not prefixed it is considered as one to be loaded. Returns array:
* *
* ~~~ * ~~~
* [ * [

Loading…
Cancel
Save