3 final class FundInitiativeQuery
4 extends PhabricatorCursorPagedPolicyAwareQuery
{
11 public function withIDs(array $ids) {
16 public function withPHIDs(array $phids) {
17 $this->phids
= $phids;
21 public function withOwnerPHIDs(array $phids) {
22 $this->ownerPHIDs
= $phids;
26 public function withStatuses(array $statuses) {
27 $this->statuses
= $statuses;
31 public function newResultObject() {
32 return new FundInitiative();
35 protected function loadPage() {
36 return $this->loadStandardPage($this->newResultObject());
39 protected function buildWhereClauseParts(AphrontDatabaseConnection
$conn) {
40 $where = parent
::buildWhereClauseParts($conn);
42 if ($this->ids
!== null) {
49 if ($this->phids
!== null) {
56 if ($this->ownerPHIDs
!== null) {
59 'i.ownerPHID IN (%Ls)',
63 if ($this->statuses
!== null) {
73 public function getQueryApplicationClass() {
74 return 'PhabricatorFundApplication';
77 protected function getPrimaryTableAlias() {