cache_get_multiple

Versions
7
cache_get_multiple(array &$cids, $bin = 'cache')

Return 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.

▾ 1 function calls cache_get_multiple()

field_attach_load in modules/field/field.attach.inc
Load all fields for the most current version of each of a set of objects of a single object type.

Code

includes/cache.inc, line 61

<?php
function cache_get_multiple(array &$cids, $bin = 'cache') {
  return _cache_get_object($bin)->getMultiple($cids);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.