Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/query/PhabricatorProjectQuery.php
Show First 20 Lines • Show All 194 Lines • ▼ Show 20 Lines | public function getOrderableColumns() { | ||||
); | ); | ||||
} | } | ||||
protected function getPagingValueMap($cursor, array $keys) { | protected function getPagingValueMap($cursor, array $keys) { | ||||
$project = $this->loadCursorObject($cursor); | $project = $this->loadCursorObject($cursor); | ||||
return array( | return array( | ||||
'id' => $project->getID(), | 'id' => $project->getID(), | ||||
'name' => $project->getName(), | 'name' => $project->getName(), | ||||
'status' => $project->getStatus(), | |||||
); | ); | ||||
} | } | ||||
public function getSlugMap() { | public function getSlugMap() { | ||||
if ($this->slugMap === null) { | if ($this->slugMap === null) { | ||||
throw new PhutilInvalidStateException('execute'); | throw new PhutilInvalidStateException('execute'); | ||||
} | } | ||||
return $this->slugMap; | return $this->slugMap; | ||||
▲ Show 20 Lines • Show All 654 Lines • Show Last 20 Lines |