Task Queue

Task ID | Callback | Parameters | Description | Priority
--- | --- | --- | --- | ---
GetTaskQueueSize()) { $Tasks = $AF->GetTaskList(); foreach ($Tasks as $TaskId => $Task) { if (!is_array($Task["Callback"])) { $Callback = $Task["Callback"]; } else { $Callback = (is_object($Task["Callback"][0]) ? get_class($Task["Callback"][0]) : $Task["Callback"][0]) ."::".$Task["Callback"][1]; } $PriorityMapping = array( ApplicationFramework::PRIORITY_HIGH => "High", ApplicationFramework::PRIORITY_MEDIUM => "Medium", ApplicationFramework::PRIORITY_LOW => "Low", ); $Priority = $PriorityMapping[$Task["Priority"]]; ?>
(no tasks currently in queue)