[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/auth/query/ -> PhabricatorExternalAccountQuery.php (summary)

NOTE: When loading ExternalAccounts for use in an authentication context (that is, you're going to act as the account or link identities or anything like that) you should require CAN_EDIT capability even if you aren't actually editing the ExternalAccount.

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

Defines 13 functions

  withUserPHIDs()
  withAccountIDs()
  withAccountDomains()
  withAccountTypes()
  withPHIDs()
  withIDs()
  withAccountSecrets()
  needImages()
  loadPage()
  willFilterPage()
  buildWhereClause()
  getQueryApplicationClass()
  loadOneOrCreate()

Functions
Functions that are not part of a class:

withUserPHIDs(array $user_phids)   X-Ref
No description

withAccountIDs(array $account_ids)   X-Ref
No description

withAccountDomains(array $account_domains)   X-Ref
No description

withAccountTypes(array $account_types)   X-Ref
No description

withPHIDs(array $phids)   X-Ref
No description

withIDs($ids)   X-Ref
No description

withAccountSecrets(array $secrets)   X-Ref
No description

needImages($need)   X-Ref
No description

loadPage()   X-Ref
No description

willFilterPage(array $accounts)   X-Ref
No description

buildWhereClause(AphrontDatabaseConnection $conn_r)   X-Ref
No description

getQueryApplicationClass()   X-Ref
No description

loadOneOrCreate()   X-Ref
Attempts to find an external account and if none exists creates a new
external account with a shiny new ID and PHID.

NOTE: This function assumes the first item in various query parameters is
the correct value to use in creating a new external account.



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