Page MenuHomePhabricator
Diviner Phabricator Tech Docs ConpherenceParticipantQuery

final class ConpherenceParticipantQuery
Phabricator Technical Documentation (Conpherence)

Query class that answers these questions:

  • Q: What are the conpherences to show when I land on /conpherence/ ?
  • A:

    id(new ConpherenceParticipantQuery()) ->withParticipantPHIDs(array($my_phid)) ->execute();
  • Q: What are the next set of conpherences as I scroll up (more recent) or down (less recent) this list of conpherences?
  • A:

    id(new ConpherenceParticipantQuery()) ->withParticipantPHIDs(array($my_phid)) ->withParticipantCursor($top_participant) ->setOrder(ConpherenceParticipantQuery::ORDER_NEWER) ->execute();

    -or-

    id(new ConpherenceParticipantQuery()) ->withParticipantPHIDs(array($my_phid)) ->withParticipantCursor($bottom_participant) ->setOrder(ConpherenceParticipantQuery::ORDER_OLDER) ->execute();

For counts of read, un-read, or all conpherences by participant, see ConpherenceParticipantCountQuery.

Tasks

Formatting Query Clauses

Other Methods

Methods

public function execute()

This method is not documented.
Return
wild

protected function formatWhereClause($parts)
Inherited

This method is not documented.
Parameters
array$parts
Return
wild

protected function formatWhereSubclause($parts)
Inherited

This method is not documented.
Parameters
array$parts
Return
wild

protected function formatSelectClause($parts)
Inherited

This method is not documented.
Parameters
array$parts
Return
wild

protected function formatSelectSubclause($parts)
Inherited

This method is not documented.
Parameters
array$parts
Return
wild

protected function formatJoinClause($parts)
Inherited

This method is not documented.
Parameters
array$parts
Return
wild

protected function formatHavingClause($parts)
Inherited

This method is not documented.
Parameters
array$parts
Return
wild

protected function formatHavingSubclause($parts)
Inherited

This method is not documented.
Parameters
array$parts
Return
wild

private function flattenSubclause($parts)
Inherited

This method is not documented.
Parameters
array$parts
Return
wild

final public function setOffset($offset)
Inherited

This method is not documented.
Parameters
$offset
Return
wild

final public function setLimit($limit)
Inherited

This method is not documented.
Parameters
$limit
Return
wild

final public function getOffset()
Inherited

This method is not documented.
Return
wild

final public function getLimit()
Inherited

This method is not documented.
Return
wild

protected function buildLimitClause($conn_r)
Inherited

This method is not documented.
Parameters
AphrontDatabaseConnection$conn_r
Return
wild

final public function executeWithOffsetPager($pager)
Inherited

This method is not documented.
Parameters
PHUIPagerView$pager
Return
wild

public function withParticipantPHIDs($phids)

This method is not documented.
Parameters
array$phids
Return
wild

public function withParticipantCursor($participant)

This method is not documented.
Parameters
ConpherenceParticipant$participant
Return
wild

public function setOrder($order)

This method is not documented.
Parameters
$order
Return
wild

protected function buildWhereClause($conn_r)

This method is not documented.
Parameters
AphrontDatabaseConnection$conn_r
Return
wild

private function buildOrderClause($conn_r)

This method is not documented.
Parameters
AphrontDatabaseConnection$conn_r
Return
wild