3 final class PhabricatorCalendarExternalInviteeQuery
4 extends PhabricatorCursorPagedPolicyAwareQuery
{
10 public function withIDs(array $ids) {
15 public function withPHIDs(array $phids) {
16 $this->phids
= $phids;
20 public function withNames(array $names) {
21 $this->names
= $names;
25 public function newResultObject() {
26 return new PhabricatorCalendarExternalInvitee();
29 protected function loadPage() {
30 return $this->loadStandardPage($this->newResultObject());
33 protected function buildWhereClauseParts(AphrontDatabaseConnection
$conn) {
34 $where = parent
::buildWhereClauseParts($conn);
36 if ($this->ids
!== null) {
43 if ($this->phids
!== null) {
50 if ($this->names
!== null) {
51 $name_indexes = array();
52 foreach ($this->names
as $name) {
53 $name_indexes[] = PhabricatorHash
::digestForIndex($name);
64 public function getQueryApplicationClass() {
65 return 'PhabricatorCalendarApplication';