PHP Class Context, thinksns

Mostrar archivo Open project: medz/thinksns-4 Class Usage Examples

Public Properties

Property Type Description
$client_id integer 用户id
$client_ip string 客户端ip
$client_port integer 客户端端口
$local_ip string 内部通讯id
$local_port integer 内部通讯端口

Public Methods

Method Description
clear ( ) 清除上下文
sessionDecode ( string $session_buffer ) : mixed 解码session
sessionEncode ( mixed $session_data = '' ) : string 编码session

Method Details

clear() public static method

清除上下文
public static clear ( )

sessionDecode() public static method

解码session
public static sessionDecode ( string $session_buffer ) : mixed
$session_buffer string
return mixed

sessionEncode() public static method

编码session
public static sessionEncode ( mixed $session_data = '' ) : string
$session_data mixed
return string

Property Details

$client_id public_oe static_oe property

用户id
public static int $client_id
return integer

$client_ip public_oe static_oe property

客户端ip
public static string $client_ip
return string

$client_port public_oe static_oe property

客户端端口
public static int $client_port
return integer

$local_ip public_oe static_oe property

内部通讯id
public static string $local_ip
return string

$local_port public_oe static_oe property

内部通讯端口
public static int $local_port
return integer