function DrupalCacheArray::resolveCacheMiss

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.

1 call to DrupalCacheArray::resolveCacheMiss()
DrupalCacheArray::offsetGet in includes/bootstrap.inc
Implements ArrayAccess::offsetGet().
2 methods override DrupalCacheArray::resolveCacheMiss()
SchemaCache::resolveCacheMiss in includes/bootstrap.inc
Overrides DrupalCacheArray::resolveCacheMiss().
ThemeRegistry::resolveCacheMiss in includes/theme.inc
Resolves a cache miss.

File

includes/bootstrap.inc, line 428

Class

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

Code

protected abstract function resolveCacheMiss($offset);

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