PHP 클래스 Context, thinksns

파일 보기 프로젝트 열기: medz/thinksns-4 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$client_id integer 用户id
$client_ip string 客户端ip
$client_port integer 客户端端口
$local_ip string 内部通讯id
$local_port integer 内部通讯端口

공개 메소드들

메소드 설명
clear ( ) 清除上下文
sessionDecode ( string $session_buffer ) : mixed 解码session
sessionEncode ( mixed $session_data = '' ) : string 编码session

메소드 상세

clear() 공개 정적인 메소드

清除上下文
public static clear ( )

sessionDecode() 공개 정적인 메소드

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

sessionEncode() 공개 정적인 메소드

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

프로퍼티 상세

$client_id 공개적으로 정적으로 프로퍼티

用户id
public static int $client_id
리턴 integer

$client_ip 공개적으로 정적으로 프로퍼티

客户端ip
public static string $client_ip
리턴 string

$client_port 공개적으로 정적으로 프로퍼티

客户端端口
public static int $client_port
리턴 integer

$local_ip 공개적으로 정적으로 프로퍼티

内部通讯id
public static string $local_ip
리턴 string

$local_port 공개적으로 정적으로 프로퍼티

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