LSWebUser

Extends \CWebUser

Methods

__construct

__construct() 

checkAccess

checkAccess($operation, $params = array(), $allowCaching = true) 

Arguments

$operation

$params

$allowCaching

getStateKeyPrefix

getStateKeyPrefix() 

setFlash

setFlash($key, $value, $defaultValue = null) 

Arguments

$key

$value

$defaultValue

hasFlash

hasFlash($key) 

Arguments

$key

getFlashes

getFlashes($delete = true) 

Arguments

$delete

getState

getState(string $key, $defaultValue = null) 

Arguments

$key

string

$defaultValue

Removes a state variable.

removeState(string $key) 

Arguments

$key

string

setState

setState($key, $value, $defaultValue = null) 

Arguments

$key

$value

$defaultValue

hasState

hasState($key) 

Arguments

$key

Test if a user is in a group

isInUserGroup(int $gid) : boolean

Arguments

$gid

int

Response

boolean

Properties

sessionVariable

sessionVariable :