Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
ActiveRecord
Memcache
PHP Class ActiveRecord\Memcache
显示文件
Open project: jpfuentes2/php-activerecord
Public Methods
Method
Description
__construct
(
array
$options
)
Creates a Memcache instance.
delete
(
$key
)
flush
( )
read
(
$key
)
write
(
$key
,
$value
,
$expire
)
Method Details
__construct()
public
method
Takes an $options array w/ the following parameters:
host:
host for the memcache server
port:
port for the memcache server
public
__construct
(
array
$options
)
$options
array
delete()
public
method
public
delete
(
$key
)
flush()
public
method
public
flush
( )
read()
public
method
public
read
(
$key
)
write()
public
method
public
write
(
$key
,
$value
,
$expire
)