protected function CacheObjectAPIWrapper::checkResult in Cache Object API 7
Check whether a hook returned FALSE in order to cancel the caching operation in question.
4 calls to CacheObjectAPIWrapper::checkResult()
- CacheObjectAPIWrapper::clear in ./
cacheobject.inc - Expires data from the cache.
- CacheObjectAPIWrapper::get in ./
cacheobject.inc - Returns data from the persistent cache.
- CacheObjectAPIWrapper::getMultiple in ./
cacheobject.inc - Returns data from the persistent cache when given an array of cache IDs.
- CacheObjectAPIWrapper::set in ./
cacheobject.inc - Stores data in the persistent cache.
File
- ./
cacheobject.inc, line 157 - Provides Cache Object API wrapper class.
Class
- CacheObjectAPIWrapper
- Provides a cache class exposing hooks operating on objects before they are stored to and after they were received from the cache.
Code
protected function checkResult($results) {
foreach ($results as $result) {
if ($result === FALSE) {
return FALSE;
}
}
return TRUE;
}