Page MenuHomePhorge

NuanceQueueQuery.php
No OneTemporary

Size
759 B
Referenced Files
None
Subscribers
None

NuanceQueueQuery.php

<?php
final class NuanceQueueQuery
extends NuanceQuery {
private $ids;
private $phids;
public function withIDs(array $ids) {
$this->ids = $ids;
return $this;
}
public function withPHIDs(array $phids) {
$this->phids = $phids;
return $this;
}
public function newResultObject() {
return new NuanceQueue();
}
protected function buildWhereClauseParts(AphrontDatabaseConnection $conn) {
$where = parent::buildWhereClauseParts($conn);
if ($this->ids !== null) {
$where[] = qsprintf(
$conn,
'id IN (%Ld)',
$this->ids);
}
if ($this->phids !== null) {
$where[] = qsprintf(
$conn,
'phid IN (%Ls)',
$this->phids);
}
return $where;
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, May 27, 5:48 PM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
175477
Default Alt Text
NuanceQueueQuery.php (759 B)

Event Timeline