Builds the run-time theme registry.
Extends BackdropCacheArray to allow the theme registry to be accessed as a complete registry, while internally caching only the parts of the registry that are actually in use on the site. On cache misses the complete theme registry is loaded and used to update the run-time cache.
Hierarchy
- class BackdropCacheArray implements \ArrayAccess
- class ThemeRegistry
Expanded class hierarchy of ThemeRegistry
File
- includes/
theme.inc, line 382 - The theme system, which controls the output of Backdrop.
Members
Name | Modifiers | Type | Description |
---|---|---|---|
BackdropCacheArray:: |
protected | property | A bin to pass to cache()->set() and cache()->get(). |
BackdropCacheArray:: |
protected | property | A cid to pass to cache()->set() and cache()->get(). |
BackdropCacheArray:: |
protected | property | An array of keys to add to the cache at the end of the request. |
BackdropCacheArray:: |
protected | property | Storage for the data itself. |
BackdropCacheArray:: |
public | function | Destructs the BackdropCacheArray object. |
BackdropCacheArray:: |
public | function | Implements ArrayAccess::offsetSet(). |
BackdropCacheArray:: |
public | function | Implements ArrayAccess::offsetUnset(). |
BackdropCacheArray:: |
protected | function | Flags an offset value to be written to the persistent cache. |
ThemeRegistry:: |
protected | property | The complete theme registry array. |
ThemeRegistry:: |
protected | property | Whether the partial registry can be persisted to the cache. |
ThemeRegistry:: |
function |
Constructs a BackdropCacheArray object. Overrides BackdropCacheArray:: |
|
ThemeRegistry:: |
function | Initializes the full theme registry. | |
ThemeRegistry:: |
public | function |
Implements ArrayAccess::offsetExists(). Overrides BackdropCacheArray:: |
ThemeRegistry:: |
public | function |
Implements ArrayAccess::offsetGet(). Overrides BackdropCacheArray:: |
ThemeRegistry:: |
public | function |
Resolves a cache miss. Overrides BackdropCacheArray:: |
ThemeRegistry:: |
public | function |
Writes a value to the persistent cache immediately. Overrides BackdropCacheArray:: |