[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/passphrase/view/ -> PassphraseCredentialControl.php (summary)

(no description)

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

Defines 8 functions

  setAllowNull()
  setDefaultUsername()
  setCredentialType()
  getCredentialType()
  setOptions()
  getCustomControlClass()
  renderInput()
  validateTransactions()

Functions
Functions that are not part of a class:

setAllowNull($allow_null)   X-Ref
No description

setDefaultUsername($default_username)   X-Ref
No description

setCredentialType($credential_type)   X-Ref
No description

getCredentialType()   X-Ref
No description

setOptions(array $options)   X-Ref
No description

getCustomControlClass()   X-Ref
No description

renderInput()   X-Ref
No description

validateTransactions(PhabricatorUser $actor,array $xactions)   X-Ref
Verify that a given actor has permission to use all of the credentials
in a list of credential transactions.

In general, the rule here is:

- If you're editing an object and it uses a credential you can't use,
that's fine as long as you don't change the credential.
- If you do change the credential, the new credential must be one you
can use.

param: PhabricatorUser The acting user.
param: list<PhabricatorApplicationTransaction> List of credential altering
return: bool True if the transactions are valid.



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