Page MenuHomePhabricator

pholio_project

Authored By
skyronic
Jun 25 2014, 6:43 AM
Size
852 B
Referenced Files
None
Subscribers
None

pholio_project

private function buildWhereClause(AphrontDatabaseConnection $conn_r) {
$where = array();
$where[] = $this->buildPagingClause($conn_r);
if ($this->ids) {
$where[] = qsprintf(
$conn_r,
'id IN (%Ld)',
$this->ids);
}
if ($this->phids) {
$where[] = qsprintf(
$conn_r,
'phid IN (%Ls)',
$this->phids);
}
if ($this->authorPHIDs) {
$where[] = qsprintf(
$conn_r,
'authorPHID in (%Ls)',
$this->authorPHIDs);
}
if ($this->projectPHIDs) {
$where[] = qsprintf(
$conn_r,
'project.PHID in (%Ls)',
$this->projectPHIDs);
}
if ($this->statuses) {
$where[] = qsprintf(
$conn_r,
'status IN (%Ls)',
$this->statuses);
}
return $this->formatWhereClause($where);
}

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/ng/ts/cb2mdim66s7srcl2
Default Alt Text
pholio_project (852 B)

Event Timeline