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 includes/cache.inc
Implements DrupalCacheInterface::get().

File

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

Class

DrupalCacheInterface
Defines an interface for cache implementations.

Code

function get($cid);