PHP Класс yii\caching\ArrayCache

See Cache for common cache operations that ArrayCache supports. Unlike the Cache, ArrayCache allows the expire parameter of [[set]], [[add]], [[multiSet]] and [[multiAdd]] to be a floating point number, so you may specify the time in milliseconds (e.g. 0.1 will be 100 milliseconds). For more details and usage information on Cache, see the guide article on caching.
С версии: 2.0
Автор: Carsten Brandt ([email protected])
Наследование: extends Cache
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
exists ( $key )

Защищенные методы

Метод Описание
addValue ( $key, $value, $duration )
deleteValue ( $key )
flushValues ( )
getValue ( $key )
setValue ( $key, $value, $duration )

Описание методов

addValue() защищенный Метод

protected addValue ( $key, $value, $duration )

deleteValue() защищенный Метод

protected deleteValue ( $key )

exists() публичный Метод

public exists ( $key )

flushValues() защищенный Метод

protected flushValues ( )

getValue() защищенный Метод

protected getValue ( $key )

setValue() защищенный Метод

protected setValue ( $key, $value, $duration )