function alpha_zone_get_setting

cis7 alpha.inc alpha_zone_get_setting($name, $zone, $default = NULL, $theme = NULL)
cle7 alpha.inc alpha_zone_get_setting($name, $zone, $default = NULL, $theme = NULL)
elmsmedia7 alpha.inc alpha_zone_get_setting($name, $zone, $default = NULL, $theme = NULL)
icor7 alpha.inc alpha_zone_get_setting($name, $zone, $default = NULL, $theme = NULL)
meedjum_blog7 alpha.inc alpha_zone_get_setting($name, $zone, $default = NULL, $theme = NULL)
mooc7 alpha.inc alpha_zone_get_setting($name, $zone, $default = NULL, $theme = NULL)

A helper function for retrieving zone settings.

alpha_theme_get_setting().

Parameters

$name: The name of the setting that you want to retrieve.

$zone: The zone that you want to fetch the setting for.

$default (optional): The name (key) of the theme that you want to fetch the setting for. Defaults to NULL.

$theme (optional): The key (machin-readable name) of a theme. Defaults to the key of the current theme if not defined.

See also

theme_get_setting().

3 calls to alpha_zone_get_setting()
alpha_theme_container::zones in sites/all/themes/ulmus/omega/alpha/includes/base.inc
@todo
omega_alpha_zones_alter in sites/all/themes/ulmus/omega/omega/template.php
Implements hook_alpha_zones_alter().
omega_zone_get_setting in sites/all/themes/ulmus/omega/omega/includes/omega.inc
A helper function for retrieving zone settings.

File

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

Code

function alpha_zone_get_setting($name, $zone, $default = NULL, $theme = NULL) {
  $setting = theme_get_setting('alpha_zone_' . $zone . '_' . $name, $theme);

  return isset($setting) ? $setting : $default;
}
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.