Page MenuHomestyx hydra

NuanceRequestorQuery.php
No OneTemporary

NuanceRequestorQuery.php

<?php
final class NuanceRequestorQuery
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 newObject() {
return new NuanceRequestor();
}
protected function loadPage() {
return $this->loadStandardPage($this->newObject());
}
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
Wed, Nov 26, 8:29 PM (22 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
394226
Default Alt Text
NuanceRequestorQuery.php (856 B)

Event Timeline