abstract protected function CacheProvider::doSave

Puts data into the cache.

Parameters

string $id The cache id.:

string $data The cache entry/data.:

bool|int $lifeTime The lifetime. If != false, sets a specific lifetime for this: cache entry (null => infinite lifeTime).

Return value

boolean TRUE if the entry was successfully stored in the cache, FALSE otherwise.

3 calls to CacheProvider::doSave()
CacheProvider::deleteAll in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Cache/CacheProvider.php
Delete all cache entries.
CacheProvider::getNamespaceVersion in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Cache/CacheProvider.php
Namespace version
CacheProvider::save in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Cache/CacheProvider.php
Puts data into the cache.
10 methods override CacheProvider::doSave()
ApcCache::doSave in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Cache/ApcCache.php
Puts data into the cache.
ArrayCache::doSave in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Cache/ArrayCache.php
Puts data into the cache.
FilesystemCache::doSave in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Cache/FilesystemCache.php
Puts data into the cache.
MemcacheCache::doSave in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Cache/MemcacheCache.php
Puts data into the cache.
MemcachedCache::doSave in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Cache/MemcachedCache.php
Puts data into the cache.

... See full list

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Cache/CacheProvider.php, line 207

Class

CacheProvider
Base class for cache provider implementations.

Namespace

Doctrine\Common\Cache

Code

protected abstract function doSave($id, $data, $lifeTime = false);