You are here

function MobileToolsDatabaseCache::get in Mobile Tools 7.3

Implements DrupalCacheInterface::get().

Overrides DrupalCacheInterface::get

File

mobile_tools_cache/mobile_tools_cache.module, line 44
Main module for mobile_tools_cache

Class

MobileToolsDatabaseCache
Implements DrupalCacheInterface

Code

function get($cid) {
  $cids = array(
    $cid,
  );
  $cache = $this
    ->getMultiple($cids);
  return reset($cache);
}