function rules_scheduler_task_load
Loads a task by a given task ID.
Parameters
int $tid: The task ID.
File
-
rules_scheduler/
rules_scheduler.module, line 125
Code
function rules_scheduler_task_load($tid) {
$result = db_select('rules_scheduler', 'r')->fields('r')
->condition('tid', (int) $tid)
->execute();
return $result->fetchAssoc();
}