Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Gdn_Cache
add
Gdn_Cache::add PHP Method
Gdn_Cache Class Documentation
Mostrar archivo
Open project: vanilla/vanilla
add()
abstract
public
method
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
return
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