function _auditfiles_not_on_server_batch_display_get_operations in Audit Files 7.4
Same name and namespace in other branches
- 7.3 auditfiles.notonserver.inc \_auditfiles_not_on_server_batch_display_get_operations()
Configures the operations for the batch process.
Return value
array The operations to execute.
1 call to _auditfiles_not_on_server_batch_display_get_operations()
- _auditfiles_not_on_server_batch_display_create_batch in ./
auditfiles.notonserver.inc - Prepares the definition for the page display batch.
File
- ./
auditfiles.notonserver.inc, line 327 - Generates a report showing files in the database, but not on the server.
Code
function _auditfiles_not_on_server_batch_display_get_operations() {
$date_format = variable_get('auditfiles_report_options_date_format', 'long');
$operations = array();
$file_ids = _auditfiles_not_on_server_get_file_list();
// Set up the operations.
foreach ($file_ids as $file_id) {
$operations[] = array(
'_auditfiles_not_on_server_batch_display_process_batch',
array(
$file_id,
$date_format,
),
);
}
return $operations;
}