function DrupalCacheInterface::get

7.x cache.inc DrupalCacheInterface::get($cid)

Returns data from the persistent cache.

Data may be stored as either plain text or as serialized data. cache_get() will automatically return unserialized objects and arrays.

Parameters

$cid: The cache ID of the data to retrieve.

Return value

The cache or FALSE on failure.

1 method overrides DrupalCacheInterface::get()
DrupalDatabaseCache::get in drupal-7.x/includes/cache.inc
Implements DrupalCacheInterface::get().

File

drupal-7.x/includes/cache.inc, line 235
Functions and interfaces for cache handling.

Class

DrupalCacheInterface
Defines an interface for cache implementations.

Code

function get($cid);