AbleCloud PHP SDK
1.8.x
PHP SDK of AbleCloud API
|
Public 成员函数 | |
__construct ($name, $version, $context) | |
close () | |
destroy ($session_id) | |
gc ($maxlifetime) | |
open ($save_path, $session_name) | |
read ($session_id) | |
write ($session_id, $session_data) | |
![]() | |
__construct ($name, $version, $context) | |
getName () | |
getVersion () | |
getContext () | |
getLastError () | |
额外继承的成员函数 | |
![]() | |
resetLastError ($errCode=0, $errMessage='') | |
PHP Session存储服务。
ACPHPSessionMgr::__construct | ( | $name, | |
$version, | |||
$context | |||
) |
构造函数。
$name | string AbleCloud天气服务的名字。 |
$version | int AbleCloud天气服务的版本。 |
$context | ACContext ACContext对象,表示访问该远程服务所依赖的环境信息。 |
ACPHPSessionMgr::close | ( | ) |
SessionHandlerInterface定义的接口。
ACPHPSessionMgr::destroy | ( | $session_id | ) |
SessionHandlerInterface定义的接口。
string | $session_id | Session ID。 |
ACPHPSessionMgr::gc | ( | $maxlifetime | ) |
SessionHandlerInterface定义的接口。
int | string | $maxlifetime |
ACPHPSessionMgr::open | ( | $save_path, | |
$session_name | |||
) |
SessionHandlerInterface定义的接口。
string | $save_path | |
string | $session_name |
ACPHPSessionMgr::read | ( | $session_id | ) |
SessionHandlerInterface定义的接口。
string | $session_id |
ACPHPSessionMgr::write | ( | $session_id, | |
$session_data | |||
) |
SessionHandlerInterface定义的接口。
string | $session_id | |
string | $session_data |