You are here

function jquery_ui_filter_dialog_get_options in jQuery UI filter 7

Same name and namespace in other branches
  1. 6 dialog/jquery_ui_filter_dialog.module \jquery_ui_filter_dialog_get_options()

Get jQuery UI dialog options.

3 calls to jquery_ui_filter_dialog_get_options()
jquery_ui_filter_dialog_get_features in dialog/jquery_ui_filter_dialog.module
Get jQuery UI dialog features.
jquery_ui_filter_dialog_init in dialog/jquery_ui_filter_dialog.module
Implements hook_init().
jquery_ui_filter_dialog_settings in dialog/jquery_ui_filter_dialog.admin.inc
Form builder; Dialog settings page for the 'jQuery UI filter' module.

File

dialog/jquery_ui_filter_dialog.module, line 171
Opens links inside a jQuery UI dialog widget.

Code

function jquery_ui_filter_dialog_get_options() {
  return _jquery_ui_filter_array_merge(array(
    'closeOnEscape' => 'true',
    'closeText' => 'Close',
    'closeButton' => 'false',
    'dialogClass' => '',
    'draggable' => 'true',
    'height' => 'auto',
    'hide' => '',
    'show' => '',
    'width' => 'auto',
    'maxHeight' => 'false',
    'maxWidth' => 'false',
    'minHeight' => '150',
    'minWidth' => '150',
    'modal' => 'false',
    'position' => 'center',
    'resizable' => 'true',
    'stack' => 'true',
    'title' => '',
    'dialogFeatures' => jquery_ui_filter_dialog_get_default_features(),
  ), variable_get('jquery_ui_filter_dialog_options', array()));
}