[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/diffusion/query/ -> DiffusionCommitQuery.php (summary)

(no description)

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

Defines 27 functions

  withIDs()
  withPHIDs()
  withAuthorPHIDs()
  withIdentifiers()
  withRepository()
  withRepositoryPHIDs()
  withDefaultRepository()
  withRepositoryIDs()
  needCommitData()
  needAuditRequests()
  shouldJoinAudits()
  rowsMustHaveAudits()
  withAuditIDs()
  withAuditorPHIDs()
  withAuditAwaitingUser()
  withAuditStatus()
  getIdentifierMap()
  getPagingColumn()
  willExecute()
  loadPage()
  willFilterPage()
  didFilterPage()
  buildWhereClause()
  didFilterResults()
  buildJoinClause()
  buildGroupClause()
  getQueryApplicationClass()

Functions
Functions that are not part of a class:

withIDs(array $ids)   X-Ref
No description

withPHIDs(array $phids)   X-Ref
No description

withAuthorPHIDs(array $phids)   X-Ref
No description

withIdentifiers(array $identifiers)   X-Ref
Load commits by partial or full identifiers, e.g. "rXab82393", "rX1234",
or "a9caf12". When an identifier matches multiple commits, they will all
be returned; callers should be prepared to deal with more results than
they queried for.


withRepository(PhabricatorRepository $repository)   X-Ref
Look up commits in a specific repository. This is a shorthand for calling
@{method:withDefaultRepository} and @{method:withRepositoryIDs}.


withRepositoryPHIDs(array $phids)   X-Ref
Look up commits in a specific repository. Prefer
@{method:withRepositoryIDs}; the underyling table is keyed by ID such
that this method requires a separate initial query to map PHID to ID.


withDefaultRepository(PhabricatorRepository $repository)   X-Ref
If a default repository is provided, ambiguous commit identifiers will
be assumed to belong to the default repository.

For example, "r123" appearing in a commit message in repository X is
likely to be unambiguously "rX123". Normally the reference would be
considered ambiguous, but if you provide a default repository it will
be correctly resolved.

withRepositoryIDs(array $repository_ids)   X-Ref
No description

needCommitData($need)   X-Ref
No description

needAuditRequests($need)   X-Ref
No description

shouldJoinAudits()   X-Ref
Returns true if we should join the audit table, either because we're
interested in the information if it's available or because matching rows
must always have it.


rowsMustHaveAudits()   X-Ref
Return true if we should `JOIN` (vs `LEFT JOIN`) the audit table, because
matching commits will always have audit rows.


withAuditIDs(array $ids)   X-Ref
No description

withAuditorPHIDs(array $auditor_phids)   X-Ref
No description

withAuditAwaitingUser(PhabricatorUser $user)   X-Ref
No description

withAuditStatus($status)   X-Ref
No description

getIdentifierMap()   X-Ref
No description

getPagingColumn()   X-Ref
No description

willExecute()   X-Ref
No description

loadPage()   X-Ref
No description

willFilterPage(array $commits)   X-Ref
No description

didFilterPage(array $commits)   X-Ref
No description

buildWhereClause(AphrontDatabaseConnection $conn_r)   X-Ref
No description

didFilterResults(array $filtered)   X-Ref
No description

buildJoinClause($conn_r)   X-Ref
No description

buildGroupClause(AphrontDatabaseConnection $conn_r)   X-Ref
No description

getQueryApplicationClass()   X-Ref
No description



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