function DrupalCacheInterface::get

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

Class

DrupalCacheInterface
Defines an interface for cache implementations.

Code

function get($cid);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.