Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Gdn_Cache
replace
Gdn_Cache::replace PHP Method
Gdn_Cache Class Documentation
Mostra file
Open project: vanilla/vanilla
replace()
abstract
public
method
This will fail if the provided key does not already exist.
abstract
public
replace
(
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 replace($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