You are here

function ad_group_load in Advertisement 6.3

Same name and namespace in other branches
  1. 6 ad.module \ad_group_load()
  2. 6.2 ad.module \ad_group_load()
  3. 7 ad.module \ad_group_load()

Drupal menu wildcard Ad group loader

File

./ad.module, line 1146

Code

function ad_group_load($tid) {
  if (!is_numeric($tid)) {
    return FALSE;
  }
  $group = ad_groups_list(TRUE, $tid);
  if (!isset($group)) {
    return FALSE;
  }
  return $group;
}