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
Gdn_Cache
add
Gdn_Cache::add PHP Méthode
Gdn_Cache Class Documentation
Afficher le fichier
Open project: vanilla/vanilla
add()
abstract
public
méthode
This fails if the item already exists in the cache.
abstract
public
add
(
string
$Key
,
mixed
$Value
,
array
$Options
= [] ) :
boolean
$Key
string
Cache key used for storage
$Value
mixed
Value to be cached
$Options
array
Résultat
boolean
true on success or false on failure.
public abstract function add($Key, $Value, $Options = array());
Gdn_Cache
__construct
activeCache
activeEnabled
activeStore
add
addContainer
config
decrement
exists
fail
failure
fallback
flush
get
getPrefix
getRevision
hasFeature
increment
incrementRevision
initialize
localClear
localGet
localSet
makeKey
online
option
registerFeature
remove
replace
store
stripKey
trace
type
unregisterFeature