PHP 클래스 BaiduMemcachedStore, thinksns

상속: extends BaiduStore
파일 보기 프로젝트 열기: medz/thinksns-4

보호된 프로퍼티들

프로퍼티 타입 설명
$memcache Memcache Memcache instance
$sessionId string Session ID for current user to distinguish with other users.

공개 메소드들

메소드 설명
__construct ( string $clientId, Memcache $memcache, $sessionId )
get ( $key, $default = false )
remove ( $key )
removeAll ( )
set ( $key, $value )

보호된 메소드들

메소드 설명
getKeyForStore ( $key )

메소드 상세

__construct() 공개 메소드

public __construct ( string $clientId, Memcache $memcache, $sessionId )
$clientId string
$memcache Memcache

get() 공개 메소드

public get ( $key, $default = false )

getKeyForStore() 보호된 메소드

protected getKeyForStore ( $key )

remove() 공개 메소드

public remove ( $key )

removeAll() 공개 메소드

public removeAll ( )

set() 공개 메소드

public set ( $key, $value )

프로퍼티 상세

$memcache 보호되어 있는 프로퍼티

Memcache instance
protected Memcache $memcache
리턴 Memcache

$sessionId 보호되어 있는 프로퍼티

Session ID for current user to distinguish with other users.
protected string $sessionId
리턴 string