public static function CacheHelper::getMultiple in Helper 7
A copy of cache_get_multiple() that respects expiration.
See also
File
- lib/
CacheHelper.php, line 24
Class
Code
public static function getMultiple(array &$cids, $bin = 'cache') {
$cache = cache_get_multiple($cids, $bin);
return array_filter($cache, array(
get_called_class(),
'isCacheUnexpired',
));
}