LimeSurvey API - Master branch

Session extends CActiveRecord
in package

Class Session Extend CActiveRecord and not LSActiveRecord to disable plugin event (session can be used a lot)

Table of Contents

Properties

$data  : string
$expire  : int
$id  : string
$dataBackup  : mixed

Methods

afterFind()  : mixed
fixDataType()  : void
Update data before saving
init()  : mixed
model()  : Session
primaryKey()  : mixed
resetDataType()  : void
Reset data after saving
tableName()  : mixed

Properties

$dataBackup

private mixed $dataBackup = \null

to reset $data after save

Methods

afterFind()

public afterFind() : mixed
Tags
inheritdoc

fixDataType()

Update data before saving

public fixDataType() : void
Tags
see
CDbHttpSession

init()

public init() : mixed
Tags
inheritdoc

model()

public static model([mixed $className = __CLASS__ ]) : Session
Parameters
$className : mixed = __CLASS__
Tags
inheritdoc
Return values
Session

primaryKey()

public primaryKey() : mixed
Tags
inheritdoc

resetDataType()

Reset data after saving

public resetDataType() : void

tableName()

public tableName() : mixed
Tags
inheritdoc

        
On this page

Search results