Page MenuHomePhabricator

final class ManiphestTaskQuery
Phabricator Technical Documentation (Maniphest)

Query tasks by specific criteria. This class uses the higher-performance but less-general Maniphest indexes to satisfy queries.

Methods

public function withAuthors($authors)

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

public function withIDs($ids)

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

public function withPHIDs($phids)

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

public function withOwners($owners)

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

public function withStatus($status)

This method is not documented.
Parameters
$status
Return
wild

public function withStatuses($statuses)

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

public function withPriorities($priorities)

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

public function withSubpriorities($subpriorities)

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

public function withSubscribers($subscribers)

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

public function setGroupBy($group)

This method is not documented.
Parameters
$group
Return
wild

public function withOpenSubtasks($value)

This method is not documented.
Parameters
$value
Return
wild

public function withOpenParents($value)

This method is not documented.
Parameters
$value
Return
wild

public function withParentTaskIDs($ids)

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

public function withSubtaskIDs($ids)

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

public function withDateCreatedBefore($date_created_before)

This method is not documented.
Parameters
$date_created_before
Return
wild

public function withDateCreatedAfter($date_created_after)

This method is not documented.
Parameters
$date_created_after
Return
wild

public function withDateModifiedBefore($date_modified_before)

This method is not documented.
Parameters
$date_modified_before
Return
wild

public function withDateModifiedAfter($date_modified_after)

This method is not documented.
Parameters
$date_modified_after
Return
wild

public function withClosedEpochBetween($min, $max)

This method is not documented.
Parameters
$min
$max
Return
wild

public function withCloserPHIDs($phids)

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

public function needSubscriberPHIDs($bool)

This method is not documented.
Parameters
$bool
Return
wild

public function needProjectPHIDs($bool)

This method is not documented.
Parameters
$bool
Return
wild

public function withBridgedObjectPHIDs($phids)

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

public function withSubtypes($subtypes)

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

public function withColumnPHIDs($column_phids)

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

public function withSpecificGroupByProjectPHID($project_phid)

This method is not documented.
Parameters
$project_phid
Return
wild

public function newResultObject()

This method is not documented.
Return
wild

protected function loadPage()

This method is not documented.
Return
wild

protected function willFilterPage($tasks)

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

protected function didFilterPage($tasks)

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

protected function buildWhereClauseParts($conn)

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

private function buildStatusWhereClause($conn)

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

private function buildOwnerWhereClause($conn)

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

protected function buildJoinClauseParts($conn)

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

protected function buildGroupClause($conn)

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

protected function buildHavingClauseParts($conn)

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

private function getIgnoreGroupedProjectPHIDs()

Return project PHIDs which we should ignore when grouping tasks by project. For example, if a user issues a query like:

Tasks tagged with all projects: Frontend, Bugs

...then we don't show "Frontend" or "Bugs" groups in the result set, since they're meaningless as all results are in both groups.

Similarly, for queries like:

Tasks tagged with any projects: Public Relations

...we ignore the single project, as every result is in that project. (In the case that there are several "any" projects, we do not ignore them.)

Return
list<phid>Project PHIDs which should be ignored in query construction.

public function getBuiltinOrders()

This method is not documented.
Return
wild

public function getOrderableColumns()

This method is not documented.
Return
wild

protected function newPagingMapFromCursorObject($cursor, $keys)

This method is not documented.
Parameters
PhabricatorQueryCursor$cursor
array$keys
Return
wild

protected function newExternalCursorStringForResult($object)

This method is not documented.
Parameters
$object
Return
wild

protected function newInternalCursorFromExternalCursor($cursor)

This method is not documented.
Parameters
$cursor
Return
wild

protected function applyExternalCursorConstraintsToQuery($subquery, $cursor)

This method is not documented.
Parameters
PhabricatorCursorPagedPolicyAwareQuery$subquery
$cursor
Return
wild

private function parseCursor($cursor)

This method is not documented.
Parameters
$cursor
Return
wild

protected function getPrimaryTableAlias()

This method is not documented.
Return
wild

public function getQueryApplicationClass()

This method is not documented.
Return
wild