Commit fe58cbd5 by Qiang Xue

doc update.

parent 0035f237
...@@ -16,8 +16,8 @@ use yii\helpers\FileHelper; ...@@ -16,8 +16,8 @@ use yii\helpers\FileHelper;
/** /**
* AssetManager manages asset bundles and asset publishing. * AssetManager manages asset bundles and asset publishing.
* *
* @property AssetConverterInterface $converter The asset converter. Note that the type of this property differs in * @property AssetConverterInterface $converter The asset converter. Note that the type of this property
* getter and setter. See [[getConverter()]] and [[setConverter()]] for details. * differs in getter and setter. See [[getConverter()]] and [[setConverter()]] for details.
* *
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0 * @since 2.0
......
...@@ -29,6 +29,8 @@ use yii\helpers\Security; ...@@ -29,6 +29,8 @@ use yii\helpers\Security;
* previously, a random key will be generated and used. * previously, a random key will be generated and used.
* @property CookieCollection $cookies The cookie collection. This property is read-only. * @property CookieCollection $cookies The cookie collection. This property is read-only.
* @property string $csrfToken The random token for CSRF validation. This property is read-only. * @property string $csrfToken The random token for CSRF validation. This property is read-only.
* @property string $csrfTokenFromHeader The CSRF token sent via [[CSRF_HEADER]] by browser. Null is returned
* if no such header is sent. This property is read-only.
* @property string $hostInfo Schema and hostname part (with port number if needed) of the request URL (e.g. * @property string $hostInfo Schema and hostname part (with port number if needed) of the request URL (e.g.
* `http://www.yiiframework.com`). * `http://www.yiiframework.com`).
* @property boolean $isAjax Whether this is an AJAX (XMLHttpRequest) request. This property is read-only. * @property boolean $isAjax Whether this is an AJAX (XMLHttpRequest) request. This property is read-only.
......
...@@ -23,8 +23,8 @@ use yii\base\InvalidParamException; ...@@ -23,8 +23,8 @@ use yii\base\InvalidParamException;
* *
* @property string|integer $id The unique identifier for the user. If null, it means the user is a guest. * @property string|integer $id The unique identifier for the user. If null, it means the user is a guest.
* This property is read-only. * This property is read-only.
* @property IdentityInterface $identity The identity object associated with the currently logged user. Null is * @property IdentityInterface $identity The identity object associated with the currently logged user. Null
* returned if the user is not logged in (not authenticated). * is returned if the user is not logged in (not authenticated).
* @property boolean $isGuest Whether the current user is a guest. This property is read-only. * @property boolean $isGuest Whether the current user is a guest. This property is read-only.
* @property string $returnUrl The URL that the user should be redirected to after login. Note that the type * @property string $returnUrl The URL that the user should be redirected to after login. Note that the type
* of this property differs in getter and setter. See [[getReturnUrl()]] and [[setReturnUrl()]] for details. * of this property differs in getter and setter. See [[getReturnUrl()]] and [[setReturnUrl()]] for details.
......
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