Session
in package
Table of Contents
Methods
- _message() : mixed
- session flash message
- delete() : mixed
- 删除seesion
- get() : mixed
- get_message() : mixed
- get flash message
- has_message() : mixed
- check session flash message is exists
- init() : mixed
- key() : mixed
- set() : mixed
- 设置
- set_message() : mixed
- set flash message
Methods
_message()
session flash message
public
static _message(mixed $name[, mixed $val = '' ]) : mixed
Parameters
- $name : mixed
- $val : mixed = ''
delete()
删除seesion
public
static delete(mixed $name) : mixed
Parameters
- $name : mixed
get()
public
static get(mixed $name) : mixed
Parameters
- $name : mixed
get_message()
get flash message
public
static get_message(mixed $name) : mixed
Parameters
- $name : mixed
has_message()
check session flash message is exists
public
static has_message(mixed $name) : mixed
Parameters
- $name : mixed
init()
public
static init() : mixed
key()
public
static key(mixed $name) : mixed
Parameters
- $name : mixed
set()
设置
public
static set(mixed $name, mixed $value) : mixed
Parameters
- $name : mixed
- $value : mixed
set_message()
set flash message
public
static set_message(mixed $name, mixed $val) : mixed
Parameters
- $name : mixed
- $val : mixed