function revision_scheduler_operation_load_multiple in Revision scheduler 7
Load multiple scheduled revision operations from the database.
Parameters
array $ids: An array of scheduled operation IDs.
Return value
array An array of scheduled revision operation records.
2 calls to revision_scheduler_operation_load_multiple()
- revision_scheduler_operation_delete_multiple in ./
revision_scheduler.module - Delete multiple scheduled revision operations from the database.
- revision_scheduler_operation_load in ./
revision_scheduler.module - Load a single scheduled revision operation from the database.
File
- ./
revision_scheduler.module, line 483
Code
function revision_scheduler_operation_load_multiple(array $ids) {
if (empty($ids)) {
return array();
}
$operations = db_query("SELECT * FROM {revision_scheduler} WHERE id IN (:ids)", array(
':ids' => $ids,
))
->fetchAllAssoc('id');
return $operations;
}