function cache_get_multiple
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.
File
- includes/cache.inc, line 72
- Functions and interfaces for cache handling.
Code
function cache_get_multiple(array &$cids, $bin = 'cache') { return _cache_get_object($bin)->getMultiple($cids); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!cache.inc/function/cache_get_multiple/7.x