You are here

function popup_get_ahah in Popup 8

Same name and namespace in other branches
  1. 7 includes/popup.util.inc \popup_get_ahah()
  2. 7.x includes/popup.util.inc \popup_get_ahah()
  3. 6.x includes/popup.util.inc \popup_get_ahah()

File

includes/popup.util.inc, line 404

Code

function popup_get_ahah($type, $attr_hash = '') {
  module_load_include('inc', 'popup', 'includes/popup.api');
  $attributes = popup_cache_attributes($attr_hash);
  $function = '_popup_' . $type;
  print $function($attributes, 'body');
  exit;
}