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
Gdn_Cache
increment
Gdn_Cache::increment PHP Method
Gdn_Cache Class Documentation
显示文件
Open project: vanilla/vanilla
increment()
abstract
public
method
This will fail if the key does not already exist. Cannot take the value of $Key below 0.
abstract
public
increment
(
string
$Key
,
integer
$Amount
= 1,
$Options
= [] ) :
integer
$Key
string
Cache key used for storage.
$Amount
integer
Amount to shift value up.
return
integer
new value or false on failure.
public abstract function increment($Key, $Amount = 1, $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