Documentation

Cache_Memcache extends Cache_MemcacheEngine
in package

Table of Contents

Properties

$_memcache  : mixed
$mode  : mixed
int $mode

Methods

__construct()  : mixed
__destruct()  : mixed
addServer()  : mixed
addServers()  : mixed
del()  : mixed
get()  : mixed
init()  : mixed
set()  : mixed
setMode()  : mixed

Properties

Methods

addServer()

public addServer(mixed $host[, mixed $port = 11211 ][, mixed $weight = 10 ][, mixed $timeout = 1 ]) : mixed
Parameters
$host : mixed
$port : mixed = 11211
$weight : mixed = 10
$timeout : mixed = 1

addServers()

public addServers([mixed $hosts = array() ]) : mixed
Parameters
$hosts : mixed = array()

del()

public del(mixed $keys) : mixed
Parameters
$keys : mixed

get()

public get(string|array<string|int, mixed> $key[, string|array<string|int, mixed> $depKeys = null ]) : mixed
Parameters
$key : string|array<string|int, mixed>
$depKeys : string|array<string|int, mixed> = null

init()

public init([mixed $params = array() ]) : mixed
Parameters
$params : mixed = array()

set()

public set(mixed $key, mixed $value[, mixed $exp = 0 ]) : mixed
Parameters
$key : mixed
$value : mixed
$exp : mixed = 0

setMode()

public setMode(int $mode) : mixed
Parameters
$mode : int

        
On this page

Search results