Builds the run-time theme registry.
Extends CacheArray 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.
Expanded class hierarchy of ThemeRegistry
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheArray:: |
protected | property | A bin to pass to cache()->set() and cache()->get(). | |
CacheArray:: |
protected | property | A cid to pass to cache()->set() and cache()->get(). | |
CacheArray:: |
protected | property | An array of keys to add to the cache at the end of the request. | |
CacheArray:: |
protected | property | Storage for the data itself. | |
CacheArray:: |
protected | property | A tags array to pass to cache()->set(). | |
CacheArray:: |
public | function | Clear the cache. | 1 |
CacheArray:: |
public | function | Implements ArrayAccess::offsetSet(). | |
CacheArray:: |
public | function | Implements ArrayAccess::offsetUnset(). | |
CacheArray:: |
protected | function | Flags an offset value to be written to the persistent cache. | |
CacheArray:: |
public | function | Destructs the CacheArray object. | 2 |
ThemeRegistry:: |
protected | property | The complete theme registry array. | |
ThemeRegistry:: |
protected | property | Whether the partial registry can be persisted to the cache. | |
ThemeRegistry:: |
function | Initializes the full theme registry. | ||
ThemeRegistry:: |
public | function |
Overrides CacheArray::offsetExists(). Overrides CacheArray:: |
|
ThemeRegistry:: |
public | function |
Overrides CacheArray::offsetGet(). Overrides CacheArray:: |
|
ThemeRegistry:: |
public | function |
Implements CacheArray::resolveCacheMiss(). Overrides CacheArray:: |
|
ThemeRegistry:: |
public | function |
Overrides CacheArray::set(). Overrides CacheArray:: |
|
ThemeRegistry:: |
function |
Constructs a ThemeRegistry object. Overrides CacheArray:: |