You are here

function qtip_clean_settings_multiple in qTip (Stylish jQuery Tooltips) 7.2

[qtip_clean_settings_multiple description]

Parameters

[type] $instances [description]:

Return value

[type] [description]

1 call to qtip_clean_settings_multiple()
qtip_init in ./qtip.module
Implements hook_init().

File

./qtip.module, line 804

Code

function qtip_clean_settings_multiple($instances, $encode = TRUE) {
  $settings = array();
  foreach ($instances as $machine_name => $instance) {
    $settings[$machine_name] = qtip_clean_settings($instance, FALSE);
  }
  if ($encode) {
    return drupal_json_encode($settings);
  }
  return $settings;
}