Differential D21838 Diff 52051 src/applications/project/query/PhabricatorProjectColumnPositionQuery.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/query/PhabricatorProjectColumnPositionQuery.php
Show All 26 Lines | public function withColumnPHIDs(array $column_phids) { | ||||
$this->columnPHIDs = $column_phids; | $this->columnPHIDs = $column_phids; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function newResultObject() { | public function newResultObject() { | ||||
return new PhabricatorProjectColumnPosition(); | return new PhabricatorProjectColumnPosition(); | ||||
} | } | ||||
protected function loadPage() { | |||||
return $this->loadStandardPage($this->newResultObject()); | |||||
} | |||||
protected function buildWhereClauseParts(AphrontDatabaseConnection $conn) { | protected function buildWhereClauseParts(AphrontDatabaseConnection $conn) { | ||||
$where = array(); | $where = array(); | ||||
if ($this->ids !== null) { | if ($this->ids !== null) { | ||||
$where[] = qsprintf( | $where[] = qsprintf( | ||||
$conn, | $conn, | ||||
'id IN (%Ld)', | 'id IN (%Ld)', | ||||
$this->ids); | $this->ids); | ||||
Show All 31 Lines |