Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Prado
Caching
TCache
offsetSet
Prado\Caching\TCache::offsetSet PHP Method
TCache Class Documentation
ファイルを表示
Open project: pradosoft/prado
offsetSet()
public
method
If the cache already contains such a key, the existing value will be replaced with the new ones. To add expiration and dependencies, use the set() method. This method is required by the interface \ArrayAccess.
public
offsetSet
(
$id
,
$value
)
public function offsetSet($id, $value) { $this->set($id, $value); }
TCache
add
addValue
delete
deleteValue
flush
generateUniqueKey
get
getKeyPrefix
getPrimaryCache
getValue
init
offsetExists
offsetGet
offsetSet
offsetUnset
set
setKeyPrefix
setPrimaryCache
setValue