Interface IWebUser
IWebUser interface is implemented by a CWebApplication::user user application component.
A user application component represents the identity information for the current user.
Indirect known implementers
X2WebUser
Package: system\base
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/base/interfaces.php
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/base/interfaces.php
public
mixed
|
|
public
string
|
|
public
boolean
|
|
public
boolean
|
|
public
|
#
loginRequired( )
Redirects the user browser to the login page. Before the redirection, the current URL (if it's not an AJAX url) will be kept in returnUrl so that the user browser may be redirected back to the current page after successful login. Make sure you set loginUrl so that the user browser can be redirected to the specified login URL after calling this method. After calling this method, the current request processing will be terminated. |