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
$data
public
string
$data
$expire
public
int
$expire
$id
public
string
$id
Primary Key
$dataBackup
private
mixed
$dataBackup
= \null
to reset $data after save
Methods
afterFind()
public
afterFind() : mixed
Tags
fixDataType()
Update data before saving
public
fixDataType() : void
Tags
init()
public
init() : mixed
Tags
model()
public
static model([mixed $className = __CLASS__ ]) : Session
Parameters
- $className : mixed = __CLASS__
Tags
Return values
SessionprimaryKey()
public
primaryKey() : mixed
Tags
resetDataType()
Reset data after saving
public
resetDataType() : void
tableName()
public
tableName() : mixed