You are here

function finder_admin_export in Finder 6

Same name and namespace in other branches
  1. 7 includes/finder.admin.inc \finder_admin_export()

Admin finder export page.

Set $return_code to TRUE to not return form but the code instead.

1 string reference to 'finder_admin_export'
finder_menu in ./finder.module
Implementation of hook_menu().

File

includes/finder.admin.inc, line 1002
The finder admin screens.

Code

function finder_admin_export($original_finder, $return_code = FALSE) {
  $finder = drupal_clone($original_finder);
  drupal_set_title(t('Export of !title', array(
    '!title' => check_plain($finder->title),
  )));
  finder_invoke_finderapi($finder, 'finder_export');
  $finder_code = finder_export($finder);
  return $return_code ? $finder_code : drupal_get_form('finder_admin_export_form', $finder_code);
}