LSWebUser

Extends\CWebUser

inheritdoc
package

Default

Methods

__construct

__construct()

checkAccess

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

Arguments

$operation

$params

$allowCaching

Replace default system to return only one flash …

getFlashes( $delete = true)

Arguments

$delete

getState

getState( $key, $defaultValue = null)
inheritdoc

replace session variable

Arguments

$key

$defaultValue

getStateKeyPrefix

getStateKeyPrefix()
inheritdoc

replace by a fixed string

hasFlash

hasFlash( $key)
inheritdoc

Arguments

$key

hasState

hasState( $key)

Arguments

$key

Test if a user is in a group

isInUserGroup(integer $gid): boolean

Arguments

$gid

integer

Response

boolean

Check if user is allowed to edit script

isScriptUpdateAllowed(): boolean

Response

boolean

Check if user have xss allowed

isXssFiltered(): boolean

Response

boolean

Removes a state variable.

removeState(string $key)

Arguments

$key

string

setFlash

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

Arguments

$key

$value

$defaultValue

setState

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

Arguments

$key

$value

$defaultValue

Properties

sessionVariable

sessionVariable :

Type(s)