function backup_migrate_include in Backup and Migrate 6.2
Same name and namespace in other branches
- 8.2 backup_migrate.module \backup_migrate_include()
- 8.3 backup_migrate.module \backup_migrate_include()
- 6.3 backup_migrate.module \backup_migrate_include()
- 7.3 backup_migrate.module \backup_migrate_include()
- 7.2 backup_migrate.module \backup_migrate_include()
Include views .inc files as necessary.
54 calls to backup_migrate_include()
- backup_migrate_backup_fail in ./
backup_migrate.module - Clean up when a backup operation fails.
- backup_migrate_backup_migrate_destinations in includes/
destinations.inc - Implementation of hook_backup_migrate_destinations().
- backup_migrate_backup_succeed in ./
backup_migrate.module - Clean up when a backup operation suceeds.
- backup_migrate_cron in ./
backup_migrate.module - Implementation of hook_cron().
- backup_migrate_crud_type_load in includes/
crud.inc - Get a generic object of the given type to be used for static-like functions.
File
- ./
backup_migrate.module, line 230 - 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_include() {
static $used = array();
foreach (func_get_args() as $file) {
if (!isset($used[$file])) {
require_once './' . drupal_get_path('module', 'backup_migrate') . "/includes/{$file}.inc";
}
$used[$file] = TRUE;
}
}