Class RWebUser
Rights web user class file.
- CComponent
-
CApplicationComponent implements IApplicationComponent
-
CWebUser implements IWebUser
-
RWebUser
Author: Christoffer Niska <cniska@live.com>
Since: 0.5
Located at crisu83/yii-rights/components/RWebUser.php
Methods summary
public
|
#
afterLogin( boolean $fromCookie )
Actions to be taken after logging in. Overloads the parent method in order to mark superusers. |
public
boolean
|
#
checkAccess( string $operation, array $params = array(), boolean $allowCaching = true )
Performs access check for this user. Overloads the parent method in order to allow superusers access implicitly. |
public
|
|
public
boolean
|
|
public
|
|
public
string
|
#
getRightsReturnUrl( string $defaultUrl = null )
Returns the URL that the user should be redirected to after updating an authorization item. |
Methods inherited from CWebUser
__get()
,
__isset()
,
__set()
,
__unset()
,
afterLogout()
,
beforeLogin()
,
beforeLogout()
,
changeIdentity()
,
clearStates()
,
createIdentityCookie()
,
getFlash()
,
getFlashes()
,
getId()
,
getIsGuest()
,
getName()
,
getReturnUrl()
,
getState()
,
getStateKeyPrefix()
,
hasFlash()
,
hasState()
,
init()
,
loadIdentityStates()
,
login()
,
loginRequired()
,
logout()
,
renewCookie()
,
restoreFromCookie()
,
saveIdentityStates()
,
saveToCookie()
,
setFlash()
,
setId()
,
setName()
,
setReturnUrl()
,
setState()
,
setStateKeyPrefix()
,
updateAuthStatus()
,
updateFlash()
Methods inherited from CApplicationComponent
getIsInitialized()
Methods inherited from CComponent
__call()
,
asa()
,
attachBehavior()
,
attachBehaviors()
,
attachEventHandler()
,
canGetProperty()
,
canSetProperty()
,
detachBehavior()
,
detachBehaviors()
,
detachEventHandler()
,
disableBehavior()
,
disableBehaviors()
,
enableBehavior()
,
enableBehaviors()
,
evaluateExpression()
,
getEventHandlers()
,
hasEvent()
,
hasEventHandler()
,
hasProperty()
,
raiseEvent()
Magic methods summary
Constants summary
Constants inherited from CWebUser
AUTH_TIMEOUT_VAR
,
FLASH_COUNTERS
,
FLASH_KEY_PREFIX
,
STATES_VAR
Properties summary
Properties inherited from CWebUser
$allowAutoLogin
,
$authTimeout
,
$autoRenewCookie
,
$autoUpdateFlash
,
$guestName
,
$identityCookie
,
$loginRequiredAjaxResponse
,
$loginUrl
Properties inherited from CApplicationComponent
$behaviors
Magic properties inherited from CWebUser
$flashes
,
$id
,
$isGuest
,
$name
,
$returnUrl
,
$stateKeyPrefix
Magic properties inherited from CApplicationComponent
$isInitialized