LSWebUser
extends CWebUser
in package
Tags
Table of Contents
Properties
- $sessionVariable : mixed
Methods
- __construct() : mixed
- checkAccess() : mixed
- getFlashes() : mixed
- Replace default system to return only one flash …
- getId() : mixed
- getState() : mixed
- getStateKeyPrefix() : mixed
- hasFlash() : mixed
- hasState() : mixed
- isInUserGroup() : bool
- Test if a user is in a group
- isScriptUpdateAllowed() : bool
- Check if user is allowed to edit script
- isXssFiltered() : bool
- Check if user have xss allowed
- logout() : mixed
- removeState() : mixed
- Removes a state variable.
- setFlash() : mixed
- setId() : mixed
- setState() : mixed
Properties
$sessionVariable
protected
mixed
$sessionVariable
= 'LSWebUser'
Methods
__construct()
public
__construct() : mixed
checkAccess()
public
checkAccess(mixed $operation[, mixed $params = array() ][, mixed $allowCaching = true ]) : mixed
Parameters
- $operation : mixed
- $params : mixed = array()
- $allowCaching : mixed = true
Tags
getFlashes()
Replace default system to return only one flash …
public
getFlashes([mixed $delete = true ]) : mixed
Parameters
- $delete : mixed = true
getId()
public
getId() : mixed
Tags
getState()
public
getState(mixed $key[, mixed $defaultValue = null ]) : mixed
Parameters
- $key : mixed
- $defaultValue : mixed = null
Tags
getStateKeyPrefix()
public
getStateKeyPrefix() : mixed
Tags
hasFlash()
public
hasFlash(mixed $key) : mixed
Parameters
- $key : mixed
Tags
hasState()
public
hasState(mixed $key) : mixed
Parameters
- $key : mixed
isInUserGroup()
Test if a user is in a group
public
isInUserGroup(int $gid) : bool
Parameters
- $gid : int
Return values
boolisScriptUpdateAllowed()
Check if user is allowed to edit script
public
isScriptUpdateAllowed() : bool
Return values
boolisXssFiltered()
Check if user have xss allowed
public
isXssFiltered() : bool
Return values
boollogout()
public
logout([mixed $destroySession = true ]) : mixed
Parameters
- $destroySession : mixed = true
Tags
removeState()
Removes a state variable.
public
removeState(string $key) : mixed
Parameters
- $key : string
setFlash()
public
setFlash(mixed $key, mixed $value[, mixed $defaultValue = null ]) : mixed
Parameters
- $key : mixed
- $value : mixed
- $defaultValue : mixed = null
Tags
setId()
public
setId(mixed $id) : mixed
Parameters
- $id : mixed
Tags
setState()
public
setState(mixed $key, mixed $value[, mixed $defaultValue = null ]) : mixed
Parameters
- $key : mixed
- $value : mixed
- $defaultValue : mixed = null