PHP Class MODEL_SESSION

Show file Open project: baigoStudio/baigoSSO Class Usage Examples

Public Methods

Method Description
__construct ( )
mdl_close ( ) : void 关闭 session mdl_close function.
mdl_create_table ( ) : void 创建表 mdl_create_table function.
mdl_destroy ( mixed $str_ssinId ) : void 销毁 mdl_destroy function.
mdl_gc ( $sessMaxLifeTime )
mdl_open ( mixed $str_savePath, mixed $str_ssinName ) : void 打开 session mdl_open function.
mdl_read ( mixed $str_ssinId ) : void 读取 mdl_read function.
mdl_write ( mixed $str_ssinId, mixed $str_ssinData ) : void 写入 mdl_write function.

Private Methods

Method Description
mdl_readDb ( mixed $str_ssinId, integer $tm_expire ) : void 读取数据 mdl_readDb function.

Method Details

__construct() public method

public __construct ( )

mdl_close() public method

关闭 session mdl_close function.
public mdl_close ( ) : void
return void

mdl_create_table() public method

创建表 mdl_create_table function.
public mdl_create_table ( ) : void
return void

mdl_destroy() public method

销毁 mdl_destroy function.
public mdl_destroy ( mixed $str_ssinId ) : void
$str_ssinId mixed
return void

mdl_gc() public method

public mdl_gc ( $sessMaxLifeTime )

mdl_open() public method

打开 session mdl_open function.
public mdl_open ( mixed $str_savePath, mixed $str_ssinName ) : void
$str_savePath mixed
$str_ssinName mixed
return void

mdl_read() public method

读取 mdl_read function.
public mdl_read ( mixed $str_ssinId ) : void
$str_ssinId mixed
return void

mdl_write() public method

写入 mdl_write function.
public mdl_write ( mixed $str_ssinId, mixed $str_ssinData ) : void
$str_ssinId mixed
$str_ssinData mixed
return void