function backup_migrate_menu_callback

cis7 backup_migrate.module backup_migrate_menu_callback($include, $function, $interactive = TRUE)
cle7 backup_migrate.module backup_migrate_menu_callback($include, $function, $interactive = TRUE)
elmsmedia7 backup_migrate.module backup_migrate_menu_callback($include, $function, $interactive = TRUE)
icor7 backup_migrate.module backup_migrate_menu_callback($include, $function, $interactive = TRUE)
meedjum_blog7 backup_migrate.module backup_migrate_menu_callback($include, $function, $interactive = TRUE)
mooc7 backup_migrate.module backup_migrate_menu_callback($include, $function, $interactive = TRUE)

A menu callback helper. Handles file includes and interactivity setting.

3 string references to 'backup_migrate_menu_callback'
backup_migrate_destination::get_menu_items in sites/all/modules/ulmus/backup_migrate/includes/destinations.inc
Add the menu items specific to the destination type.
backup_migrate_item::get_menu_items in sites/all/modules/ulmus/backup_migrate/includes/crud.inc
Get the menu items for manipulating this type.
backup_migrate_menu in sites/all/modules/ulmus/backup_migrate/backup_migrate.module
Implementation of hook_menu().

File

sites/all/modules/ulmus/backup_migrate/backup_migrate.module, line 261
Create (manually or scheduled) and restore backups of your Drupal MySQL database with an option to exclude table data (e.g. cache_*)

Code

function backup_migrate_menu_callback($include, $function, $interactive = TRUE) {
  if ($include) {
    backup_migrate_include($include);
  }
  // Set the message handler based on interactivity setting.
  _backup_migrate_message_callback($interactive ? '_backup_migrate_message_browser' : '_backup_migrate_message_log');
  // Get the arguments with the first 3 removed.
  $args = array_slice(func_get_args(), 3);
  return call_user_func_array($function, $args);
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.