function alpha_cache_get

cis7 alpha.inc alpha_cache_get($theme, $delta = NULL)
cle7 alpha.inc alpha_cache_get($theme, $delta = NULL)
elmsmedia7 alpha.inc alpha_cache_get($theme, $delta = NULL)
icor7 alpha.inc alpha_cache_get($theme, $delta = NULL)
meedjum_blog7 alpha.inc alpha_cache_get($theme, $delta = NULL)
mooc7 alpha.inc alpha_cache_get($theme, $delta = NULL)

Retrieves the cached parts of a theme container.

Parameters

$theme: The key (machin-readable name) of a theme.

$delta (optional): The machine-readable name of a delta template.

Return value

A cache object or nothing if no cache entry exists.

1 call to alpha_cache_get()
alpha_theme_container::__construct in sites/all/themes/ulmus/omega/alpha/includes/base.inc
@todo

File

sites/all/themes/ulmus/omega/alpha/includes/alpha.inc, line 696
Helper functions for the Alpha base theme.

Code

function alpha_cache_get($theme, $delta = NULL) {
  if (isset($delta)) {
    return cache_get('alpha:' . $theme . ':' . $delta);
  }
  else {
    return cache_get('alpha:' . $theme);
  }
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.