Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
phprs
util
ApcCache
PHP Class phprs\util\ApcCache
Author:
caoym
Inheritance:
implements
phprs\util\KVCatchInterface
Afficher le fichier
Open project: caoym/phprs-restful
Méthodes publiques
Méthode
Description
del
(
string
$key
) :
boolean
get
(
string
$key
,
boolean
&
$succeeded
) :
mixed
get
set
(
string
$key
,
string
$var
,
integer
$ttl
) :
boolean
Method Details
del()
public
méthode
public
del
(
string
$key
) :
boolean
$key
string
Résultat
boolean
mixed Returns true on success or false on failure.
get()
public
méthode
get
public
get
(
string
$key
,
boolean
&
$succeeded
) :
mixed
$key
string
$succeeded
boolean
Résultat
mixed
The stored variable or array of variables on success; false on failure
set()
public
méthode
public
set
(
string
$key
,
string
$var
,
integer
$ttl
) :
boolean
$key
string
$var
string
$ttl
integer
Résultat
boolean
bool Returns true on success or false on failure. Second syntax returns array with error keys.