abstract protected function DrupalCacheArray::resolveCacheMiss

abstract protected DrupalCacheArray::resolveCacheMiss($offset)

Resolves a cache miss.

When an offset is not found in the object, this is treated as a cache miss. This method allows classes implementing the interface to look up the actual value and allow it to be cached.

Parameters

$offset: The offset that was requested.

Return value

The value of the offset, or NULL if no value was found.

File

includes/bootstrap.inc, line 419
Functions that need to be loaded on every Drupal request.

Class

DrupalCacheArray
Provides a caching wrapper to be used in place of large array structures.

Code

abstract protected function resolveCacheMiss($offset);

© 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!bootstrap.inc/function/DrupalCacheArray::resolveCacheMiss/7.x