Session

Extends\CActiveRecord

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

package

Default

Methods

afterFind

afterFind()
inheritdoc

Update data before saving

fixDataType(): void
see \CDbHttpSession

init

init()
inheritdoc

model

model( $className = __CLASS__): \Session
static
inheritdoc

Arguments

$className

Response

\Session

primaryKey

primaryKey()
inheritdoc

Reset data after saving

resetDataType(): void

tableName

tableName()
inheritdoc

Properties

to reset $data after save

dataBackup :mixed
var

to reset $data after save

Type(s)

mixed

id

id :string

Primary Key

Type(s)

string

expire

expire :integer

Type(s)

integer

data

data :string

Type(s)

string