Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistTasksWorkflow.php
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Lines | $this->tasks = $this->loadManiphestTasks( | ||||
$order, | $order, | ||||
$limit); | $limit); | ||||
if (!$this->tasks) { | if (!$this->tasks) { | ||||
echo pht('No tasks found.')."\n"; | echo pht('No tasks found.')."\n"; | ||||
return 0; | return 0; | ||||
} | } | ||||
$table = id(new PhutilConsoleTable()) | $table = (new PhutilConsoleTable()) | ||||
->setShowHeader(false) | ->setShowHeader(false) | ||||
->addColumn('id', array('title' => pht('ID'))) | ->addColumn('id', array('title' => pht('ID'))) | ||||
->addColumn('title', array('title' => pht('Title'))) | ->addColumn('title', array('title' => pht('Title'))) | ||||
->addColumn('priority', array('title' => pht('Priority'))) | ->addColumn('priority', array('title' => pht('Priority'))) | ||||
->addColumn('status', array('title' => pht('Status'))); | ->addColumn('status', array('title' => pht('Status'))); | ||||
foreach ($this->tasks as $task) { | foreach ($this->tasks as $task) { | ||||
$output = array(); | $output = array(); | ||||
▲ Show 20 Lines • Show All 101 Lines • Show Last 20 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0