[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/maniphest/query/ -> ManiphestTaskQuery.php (summary)

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

File Size: 999 lines (29 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 45 functions

  withAuthors()
  withIDs()
  withPHIDs()
  withOwners()
  withAllProjects()
  addWithAllProjects()
  withoutProjects()
  withStatus()
  withStatuses()
  withPriorities()
  withSubscribers()
  withFullTextSearch()
  setGroupBy()
  setOrderBy()
  withAnyProjects()
  withAnyUserProjects()
  withDateCreatedBefore()
  withDateCreatedAfter()
  withDateModifiedBefore()
  withDateModifiedAfter()
  loadPage()
  willFilterPage()
  didFilterPage()
  buildTaskIDsWhereClause()
  buildTaskPHIDsWhereClause()
  buildStatusWhereClause()
  buildStatusesWhereClause()
  buildPrioritiesWhereClause()
  buildAuthorWhereClause()
  buildOwnerWhereClause()
  buildFullTextWhereClause()
  buildSubscriberWhereClause()
  buildProjectWhereClause()
  buildAnyProjectWhereClause()
  buildAnyUserProjectWhereClause()
  buildXProjectWhereClause()
  buildCustomOrderClause()
  buildJoinsClause()
  buildGroupClause()
  getIgnoreGroupedProjectPHIDs()
  loadCursorObject()
  getPagingValue()
  buildPagingClause()
  getApplicationSearchObjectPHIDColumn()
  getQueryApplicationClass()

Functions
Functions that are not part of a class:

withAuthors(array $authors)   X-Ref
No description

withIDs(array $ids)   X-Ref
No description

withPHIDs(array $phids)   X-Ref
No description

withOwners(array $owners)   X-Ref
No description

withAllProjects(array $projects)   X-Ref
No description

addWithAllProjects(array $projects)   X-Ref
Add an additional "all projects" constraint to existing filters.

This is used by boards to supplement queries.

param: list<phid> List of project PHIDs to add to any existing constraint.
return: this

withoutProjects(array $projects)   X-Ref
No description

withStatus($status)   X-Ref
No description

withStatuses(array $statuses)   X-Ref
No description

withPriorities(array $priorities)   X-Ref
No description

withSubscribers(array $subscribers)   X-Ref
No description

withFullTextSearch($fulltext_search)   X-Ref
No description

setGroupBy($group)   X-Ref
No description

setOrderBy($order)   X-Ref
No description

withAnyProjects(array $projects)   X-Ref
No description

withAnyUserProjects(array $users)   X-Ref
No description

withDateCreatedBefore($date_created_before)   X-Ref
No description

withDateCreatedAfter($date_created_after)   X-Ref
No description

withDateModifiedBefore($date_modified_before)   X-Ref
No description

withDateModifiedAfter($date_modified_after)   X-Ref
No description

loadPage()   X-Ref
No description

willFilterPage(array $tasks)   X-Ref
No description

didFilterPage(array $tasks)   X-Ref
No description

buildTaskIDsWhereClause(AphrontDatabaseConnection $conn)   X-Ref
No description

buildTaskPHIDsWhereClause(AphrontDatabaseConnection $conn)   X-Ref
No description

buildStatusWhereClause(AphrontDatabaseConnection $conn)   X-Ref
No description

buildStatusesWhereClause(AphrontDatabaseConnection $conn)   X-Ref
No description

buildPrioritiesWhereClause(AphrontDatabaseConnection $conn)   X-Ref
No description

buildAuthorWhereClause(AphrontDatabaseConnection $conn)   X-Ref
No description

buildOwnerWhereClause(AphrontDatabaseConnection $conn)   X-Ref
No description

buildFullTextWhereClause(AphrontDatabaseConnection $conn)   X-Ref
No description

buildSubscriberWhereClause(AphrontDatabaseConnection $conn)   X-Ref
No description

buildProjectWhereClause(AphrontDatabaseConnection $conn)   X-Ref
No description

buildAnyProjectWhereClause(AphrontDatabaseConnection $conn)   X-Ref
No description

buildAnyUserProjectWhereClause(AphrontDatabaseConnection $conn)   X-Ref
No description

buildXProjectWhereClause(AphrontDatabaseConnection $conn)   X-Ref
No description

buildCustomOrderClause(AphrontDatabaseConnection $conn)   X-Ref
No description

buildJoinsClause(AphrontDatabaseConnection $conn_r)   X-Ref
No description

buildGroupClause(AphrontDatabaseConnection $conn_r)   X-Ref
No description

getIgnoreGroupedProjectPHIDs()   X-Ref
Return project PHIDs which we should ignore when grouping tasks by
project. For example, if a user issues a query like:

Tasks in 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 in 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

loadCursorObject($id)   X-Ref
No description

getPagingValue($result)   X-Ref
No description

buildPagingClause(AphrontDatabaseConnection $conn_r)   X-Ref
No description

getApplicationSearchObjectPHIDColumn()   X-Ref
No description

getQueryApplicationClass()   X-Ref
No description



Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1