Path: blob/master/src/applications/nuance/query/NuanceImportCursorDataQuery.php
12256 views
<?php12final class NuanceImportCursorDataQuery3extends NuanceQuery {45private $ids;6private $phids;7private $sourcePHIDs;89public function withIDs(array $ids) {10$this->ids = $ids;11return $this;12}1314public function withPHIDs(array $phids) {15$this->phids = $phids;16return $this;17}1819public function withSourcePHIDs(array $source_phids) {20$this->sourcePHIDs = $source_phids;21return $this;22}2324public function newResultObject() {25return new NuanceImportCursorData();26}2728protected function buildWhereClauseParts(AphrontDatabaseConnection $conn) {29$where = parent::buildWhereClauseParts($conn);3031if ($this->sourcePHIDs !== null) {32$where[] = qsprintf(33$conn,34'sourcePHID IN (%Ls)',35$this->sourcePHIDs);36}3738if ($this->ids !== null) {39$where[] = qsprintf(40$conn,41'id IN (%Ld)',42$this->ids);43}4445if ($this->phids !== null) {46$where[] = qsprintf(47$conn,48'phid IN (%Ls)',49$this->phids);50}5152return $where;53}5455}565758