domain_load

Versions
domain
domain_load($domain_id = NULL)

Menu loader function.

The passed parameter will be checked against the {domain} table for valid records.

Parameters

$domain_id The id request for a specific domain.

Return value

$domain array on success or FALSE on failure.

▾ 3 functions call domain_load()

domain_set_domain in ./domain.module
Set the active domain to something other than the HTTP request.
domain_theme_form_alter in domain_theme/domain_theme.admin.inc
Implement hook_form_alter().
domain_theme_form_system_themes_form_alter in domain_theme/domain_theme.admin.inc
Implement hook_form_alter().

Code

./domain.module, line 609

<?php
function domain_load($domain_id = NULL) {
  $domain = domain_lookup($domain_id);
  if ($domain == -1) {
    return FALSE;
  }
  else {
    return $domain;
  }
}
?>

Contact

  • agentrickard [at] gmail [dot] com

Donations

My Amazon.com Wish List