cache_get_multiple

  1. drupal
    1. 7 cache.inc function
Drupal 7 cache_get_multiple(array &$cids, $bin = 'cache')

Returns data from the persistent cache when given an array of cache IDs.

Parameters

$cids: An array of cache IDs for the data to retrieve. This is passed by reference, and will have the IDs successfully returned from cache removed.

$bin: The cache bin where the data is stored.

Return value

An array of the items successfully returned from cache indexed by cid.

4 calls to cache_get_multiple()

File

includes/cache.inc, line 71
Functions and interfaces for cache handling.

Code

function cache_get_multiple(array &$cids, $bin = 'cache') {
  return _cache_get_object($bin)->getMultiple($cids);
}