Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P1186
pholio project
Active
Public
Actions
Authored by
skyronic
on Jun 25 2014, 6:43 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F169974: pholio_project
Jun 25 2014, 6:43 AM
2014-06-25 06:43:43 (UTC+0)
Subscribers
None
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);
}
Event Timeline
skyronic
edited the content of this paste.
(Show Details)
Jun 25 2014, 6:43 AM
2014-06-25 06:43:43 (UTC+0)
skyronic
changed the title of this paste from untitled to
pholio project
.
skyronic
updated the paste's language from
autodetect
to
autodetect
.
Log In to Comment