\SlightPHPCache_Memcache

Summary

Methods
Properties
Constants
__construct()
__destruct()
addServer()
addServers()
del()
get()
set()
init()
setMode()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_memcache
$mode
N/A

Properties

$_memcache

$_memcache : 

Type

$mode

$mode : 

int $mode

Type

Methods

__construct()

__construct() 

__destruct()

__destruct() 

addServer()

addServer(  $host,   $port = 11211,   $weight = 10,   $timeout = 1) 

Parameters

$host
$port
$weight
$timeout

addServers()

addServers(  $hosts = array()) 

Parameters

$hosts

del()

del(  $keys) 

Parameters

$keys

get()

get(string|array  $key, string|array  $depKeys = null) : mixed

Parameters

string|array $key
string|array $depKeys

Returns

mixed

set()

set(  $key,   $value,   $exp) 

Parameters

$key
$value
$exp

init()

init(  $params = array()) 

Parameters

$params

setMode()

setMode(integer  $mode) 

Parameters

integer $mode