function DrupalCacheInterface::get

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.

File

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

Class

DrupalCacheInterface
Defines an interface for cache implementations.

Code

function get($cid);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!cache.inc/function/DrupalCacheInterface::get/7.x