Page MenuHomeIsabelle/Phabricator
Diviner Phabricator Tech Docs DiffusionCommitVerifyTransaction

final class DiffusionCommitVerifyTransaction
Phabricator Technical Documentation (Diffusion)

This class is not documented.

Methods

final public function getTransactionTypeConstant()
Inherited

This method is not documented.
Return
wild

public function generateOldValue($object)
Inherited

This method is not documented.
Parameters
$object
Return
wild

public function generateNewValue($object, $value)
Inherited

This method is not documented.
Parameters
$object
$value
Return
wild

public function validateTransactions($object, $xactions)
Inherited

This method is not documented.
Parameters
$object
array$xactions
Return
wild

public function applyInternalEffects($object, $value)

This method is not documented.
Parameters
$object
$value
Return
wild

public function applyExternalEffects($object, $value)
Inherited

This method is not documented.
Parameters
$object
$value
Return
wild

public function didCommitTransaction($object, $value)
Inherited

This method is not documented.
Parameters
$object
$value
Return
wild

public function getTransactionHasEffect($object, $old, $new)
Inherited

This method is not documented.
Parameters
$object
$old
$new
Return
wild

public function extractFilePHIDs($object, $value)
Inherited

This method is not documented.
Parameters
$object
$value
Return
wild

public function shouldHide()
Inherited

This method is not documented.
Return
wild

public function shouldHideForFeed()
Inherited

This method is not documented.
Return
wild

public function shouldHideForMail()
Inherited

This method is not documented.
Return
wild

public function shouldHideForNotifications()
Inherited

This method is not documented.
Return
wild

public function getIcon()

This method is not documented.
Return
wild

public function getTitle()

This method is not documented.
Return
wild

public function getTitleForFeed()

This method is not documented.
Return
wild

public function getActionName()

This method is not documented.
Return
wild

public function getActionStrength()
Inherited

This method is not documented.
Return
wild

public function getColor()

This method is not documented.
Return
wild

public function hasChangeDetailView()
Inherited

This method is not documented.
Return
wild

public function newChangeDetailView()
Inherited

This method is not documented.
Return
wild

public function getMailDiffSectionHeader()
Inherited

This method is not documented.
Return
wild

public function newRemarkupChanges()
Inherited

This method is not documented.
Return
wild

public function mergeTransactions($object, $u, $v)
Inherited

This method is not documented.
Parameters
$object
PhabricatorApplicationTransaction$u
PhabricatorApplicationTransaction$v
Return
wild

final public function setStorage($xaction)
Inherited

This method is not documented.
Parameters
PhabricatorApplicationTransaction$xaction
Return
wild

private function getStorage()
Inherited

This method is not documented.
Return
wild

final public function setViewer($viewer)
Inherited

This method is not documented.
Parameters
PhabricatorUser$viewer
Return
wild

final protected function getViewer()
Inherited

This method is not documented.
Return
wild

final public function getActor()
Inherited

This method is not documented.
Return
wild

final public function getActingAsPHID()
Inherited

This method is not documented.
Return
wild

final public function setEditor($editor)
Inherited

This method is not documented.
Parameters
PhabricatorApplicationTransactionEditor$editor
Return
wild

final protected function getEditor()
Inherited

This method is not documented.
Return
wild

final protected function hasEditor()
Inherited

This method is not documented.
Return
wild

final protected function getAuthorPHID()
Inherited

This method is not documented.
Return
wild

final protected function getObjectPHID()
Inherited

This method is not documented.
Return
wild

final protected function getObject()
Inherited

This method is not documented.
Return
wild

final protected function getOldValue()
Inherited

This method is not documented.
Return
wild

final protected function getNewValue()
Inherited

This method is not documented.
Return
wild

final protected function renderAuthor()
Inherited

This method is not documented.
Return
wild

final protected function renderObject()
Inherited

This method is not documented.
Return
wild

final protected function renderHandle($phid)
Inherited

This method is not documented.
Parameters
$phid
Return
wild

final protected function renderOldHandle()
Inherited

This method is not documented.
Return
wild

final protected function renderNewHandle()
Inherited

This method is not documented.
Return
wild

final protected function renderOldPolicy()
Inherited

This method is not documented.
Return
wild

final protected function renderNewPolicy()
Inherited

This method is not documented.
Return
wild

final protected function renderPolicy($phid, $mode)
Inherited

This method is not documented.
Parameters
$phid
$mode
Return
wild

final protected function renderHandleList($phids)
Inherited

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

final protected function renderValue($value)
Inherited

This method is not documented.
Parameters
$value
Return
wild

final protected function renderValueList($values)
Inherited

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

final protected function renderOldValue()
Inherited

This method is not documented.
Return
wild

final protected function renderNewValue()
Inherited

This method is not documented.
Return
wild

final protected function renderDate($epoch)
Inherited

This method is not documented.
Parameters
$epoch
Return
wild

final protected function renderOldDate()
Inherited

This method is not documented.
Return
wild

final protected function renderNewDate()
Inherited

This method is not documented.
Return
wild

final protected function newError($title, $message, $xaction)
Inherited

This method is not documented.
Parameters
$title
$message
$xaction
Return
wild

final protected function newRequiredError($message, $xaction)
Inherited

This method is not documented.
Parameters
$message
$xaction
Return
wild

final protected function newInvalidError($message, $xaction)
Inherited

This method is not documented.
Parameters
$message
$xaction
Return
wild

final protected function isNewObject()
Inherited

This method is not documented.
Return
wild

final protected function isEmptyTextTransaction($value, $xactions)
Inherited

This method is not documented.
Parameters
$value
array$xactions
Return
wild

final protected function isRenderingTargetExternal()
Inherited

PhabricatorModularTransactionType

When rendering to external targets (Email/Asana/etc), we need to include more information that users can't obtain later.

Return
wild

final protected function isTextMode()
Inherited

This method is not documented.
Return
wild

final protected function newRemarkupChange()
Inherited

This method is not documented.
Return
wild

final protected function isCreateTransaction()
Inherited

This method is not documented.
Return
wild

final protected function getPHIDList($old, $new)
Inherited

This method is not documented.
Parameters
array$old
array$new
Return
wild

public function getMetadataValue($key, $default)
Inherited

This method is not documented.
Parameters
$key
$default
Return
wild

public function loadTransactionTypeConduitData($xactions)
Inherited

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

public function getTransactionTypeForConduit($xaction)

This method is not documented.
Parameters
$xaction
Return
wild

public function getFieldValuesForConduit($object, $data)

This method is not documented.
Parameters
$xaction
$data
Return
wild

protected function requireApplicationCapability($capability)
Inherited

This method is not documented.
Parameters
$capability
Return
wild

public function getRequiredCapabilities($object, $xaction)
Inherited

PhabricatorModularTransactionType

Get a list of capabilities the actor must have on the object to apply a transaction to it.

Usually, you should use this to reduce capability requirements when a transaction (like leaving a Conpherence thread) can be applied without having edit permission on the object. You can override this method to remove the CAN_EDIT requirement, or to replace it with a different requirement.

If you are increasing capability requirements and need to add an additional capability or policy requirement above and beyond CAN_EDIT, it is usually better implemented as a validation check.

Parameters
object$objectObject being edited.
PhabricatorApplicationTransaction$xactionTransaction being applied.
Return
null|const|list<const>A capability constant (or list of capability constants) which the actor must have on the object. You can return `null` as a shorthand for "no capabilities are required".

public function shouldTryMFA($object, $xaction)
Inherited

This method is not documented.
Parameters
$object
PhabricatorApplicationTransaction$xaction
Return
wild

final public function getTitleForTextMail()
Inherited

This method is not documented.
Return
wild

final public function getTitleForHTMLMail()
Inherited

This method is not documented.
Return
wild

final public function getBodyForTextMail()
Inherited

This method is not documented.
Return
wild

final public function getBodyForHTMLMail()
Inherited

This method is not documented.
Return
wild

private function getTitleForMailWithRenderingTarget($target)
Inherited

This method is not documented.
Parameters
$target
Return
wild

private function getBodyForMailWithRenderingTarget($target)
Inherited

This method is not documented.
Parameters
$target
Return
wild

protected function getTitleForMail()
Inherited

This method is not documented.
Return
wild

protected function getBodyForMail()
Inherited

This method is not documented.
Return
wild

protected function updateAudits($commit, $new)
Inherited

This method is not documented.
Parameters
PhabricatorRepositoryCommit$commit
array$new
Return
wild

final public function getCommitActionKey()
Inherited

This method is not documented.
Return
wild

public function isActionAvailable($object, $viewer)
Inherited

This method is not documented.
Parameters
$object
PhabricatorUser$viewer
Return
wild

protected function validateAction($object, $viewer)

This method is not documented.
Parameters
$object
PhabricatorUser$viewer
Return
wild

protected function getCommitActionLabel()

This method is not documented.
Return
wild

public function getCommandKeyword()
Inherited

This method is not documented.
Return
wild

public function getCommandAliases()
Inherited

This method is not documented.
Return
wild

public function getCommandSummary()
Inherited

This method is not documented.
Return
wild

protected function getCommitActionOrder()

This method is not documented.
Return
wild

public function getCommitActionOrderVector()
Inherited

This method is not documented.
Return
wild

protected function getCommitActionGroupKey()

This method is not documented.
Return
wild

protected function getCommitActionDescription()

This method is not documented.
Return
wild

public static function loadAllActions()
Inherited

This method is not documented.
Return
wild

protected function isViewerCommitAuthor($commit, $viewer)
Inherited

This method is not documented.
Parameters
PhabricatorRepositoryCommit$commit
PhabricatorUser$viewer
Return
wild

public function newEditField($commit, $viewer)
Inherited

This method is not documented.
Parameters
PhabricatorRepositoryCommit$commit
PhabricatorUser$viewer
Return
wild

protected function isViewerAnyAuditor($commit, $viewer)
Inherited

This method is not documented.
Parameters
PhabricatorRepositoryCommit$commit
PhabricatorUser$viewer
Return
wild

protected function isViewerAnyActiveAuditor($commit, $viewer)
Inherited

This method is not documented.
Parameters
PhabricatorRepositoryCommit$commit
PhabricatorUser$viewer
Return
wild

protected function isViewerFullyAccepted($commit, $viewer)
Inherited

This method is not documented.
Parameters
PhabricatorRepositoryCommit$commit
PhabricatorUser$viewer
Return
wild

protected function isViewerFullyRejected($commit, $viewer)
Inherited

This method is not documented.
Parameters
PhabricatorRepositoryCommit$commit
PhabricatorUser$viewer
Return
wild

protected function getViewerAuditStatus($commit, $viewer)
Inherited

This method is not documented.
Parameters
PhabricatorRepositoryCommit$commit
PhabricatorUser$viewer
Return
wild

protected function isViewerAuditStatusFullyAmong($commit, $viewer, $status_list)
Inherited

This method is not documented.
Parameters
PhabricatorRepositoryCommit$commit
PhabricatorUser$viewer
array$status_list
Return
wild

protected function applyAuditorEffect($commit, $viewer, $value, $status)
Inherited

This method is not documented.
Parameters
PhabricatorRepositoryCommit$commit
PhabricatorUser$viewer
$value
$status
Return
wild