final public function getTransactionTypeConstant()Inherited
| wild |
public function generateOldValue($object)
| $object |
| wild |
public function generateNewValue($object, $value)Inherited
| $object | ||
| $value |
| wild |
public function validateTransactions($object, $xactions)Inherited
| $object | ||
| array | $xactions |
| wild |
public function applyInternalEffects($object, $value)
| $object | ||
| $value |
| wild |
public function applyExternalEffects($object, $value)Inherited
| $object | ||
| $value |
| wild |
public function didCommitTransaction($object, $value)Inherited
| $object | ||
| $value |
| wild |
public function getTransactionHasEffect($object, $old, $new)Inherited
| $object | ||
| $old | ||
| $new |
| wild |
public function extractFilePHIDs($object, $value)Inherited
| $object | ||
| $value |
| wild |
public function shouldHide()Inherited
| wild |
public function shouldHideForFeed()Inherited
| wild |
public function shouldHideForMail()Inherited
| wild |
public function shouldHideForNotifications()Inherited
| wild |
public function getIcon()Inherited
| wild |
public function getTitle()
| wild |
public function getTitleForFeed()
| wild |
public function getActionName()
| wild |
public function getActionStrength()Inherited
| wild |
public function getColor()
| wild |
public function hasChangeDetailView()Inherited
| wild |
public function newChangeDetailView()Inherited
| wild |
public function getMailDiffSectionHeader()Inherited
| wild |
public function newRemarkupChanges()Inherited
| wild |
public function mergeTransactions($object, $u, $v)Inherited
| $object | ||
| PhabricatorApplicationTransaction | $u | |
| PhabricatorApplicationTransaction | $v |
| wild |
final public function setStorage($xaction)Inherited
| PhabricatorApplicationTransaction | $xaction |
| wild |
private function getStorage()Inherited
| wild |
final public function setViewer($viewer)Inherited
| PhabricatorUser | $viewer |
| wild |
final protected function getViewer()Inherited
| wild |
final public function getActor()Inherited
| wild |
final public function getActingAsPHID()Inherited
| wild |
final public function setEditor($editor)Inherited
| PhabricatorApplicationTransactionEditor | $editor |
| wild |
final protected function getEditor()Inherited
| wild |
final protected function hasEditor()Inherited
| wild |
final protected function getAuthorPHID()Inherited
| wild |
final protected function getObjectPHID()Inherited
| wild |
final protected function getObject()Inherited
| wild |
final protected function getOldValue()Inherited
| wild |
final protected function getNewValue()Inherited
| wild |
final protected function renderAuthor()Inherited
| wild |
final protected function renderObject()Inherited
| wild |
final protected function renderHandle($phid)Inherited
| $phid |
| wild |
final protected function renderOldHandle()Inherited
| wild |
final protected function renderNewHandle()Inherited
| wild |
final protected function renderOldPolicy()Inherited
| wild |
final protected function renderNewPolicy()Inherited
| wild |
final protected function renderPolicy($phid, $mode)Inherited
| $phid | ||
| $mode |
| wild |
final protected function renderHandleList($phids)Inherited
| array | $phids |
| wild |
final protected function renderValue($value)Inherited
| $value |
| wild |
final protected function renderValueList($values)Inherited
| array | $values |
| wild |
final protected function renderOldValue()Inherited
| wild |
final protected function renderNewValue()Inherited
| wild |
final protected function renderDate($epoch)Inherited
| $epoch |
| wild |
final protected function renderOldDate()Inherited
| wild |
final protected function renderNewDate()Inherited
| wild |
final protected function newError($title, $message, $xaction)Inherited
| $title | ||
| $message | ||
| $xaction |
| wild |
final protected function newRequiredError($message, $xaction)Inherited
| $message | ||
| $xaction |
| wild |
final protected function newInvalidError($message, $xaction)Inherited
| $message | ||
| $xaction |
| wild |
final protected function isNewObject()Inherited
| wild |
final protected function isEmptyTextTransaction($value, $xactions)Inherited
Check whenever a new transaction's value is considered an "empty text"
| mixed | $value | A string, null, an integer... |
| array | $xactions | Transactions |
| wild |
final protected function isRenderingTargetExternal()Inherited
When rendering to external targets (Email/Asana/etc), we need to include more information that users can't obtain later.
| wild |
final protected function isTextMode()Inherited
| wild |
final protected function newRemarkupChange()Inherited
| wild |
final protected function isCreateTransaction()Inherited
| wild |
final protected function getPHIDList($old, $new)Inherited
| array | $old | |
| array | $new |
| wild |
public function getMetadataValue($key, $default)Inherited
| $key | ||
| $default |
| wild |
public function loadTransactionTypeConduitData($xactions)Inherited
| array | $xactions |
| wild |
public function getTransactionTypeForConduit($xaction)
| $xaction |
| wild |
public function getFieldValuesForConduit($object, $data)
| $xaction | ||
| $data |
| wild |
protected function requireApplicationCapability($capability)Inherited
| $capability |
| wild |
public function getRequiredCapabilities($object, $xaction)Inherited
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.
| object | $object | Object being edited. |
| PhabricatorApplicationTransaction | $xaction | Transaction being applied. |
| 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
| $object | ||
| PhabricatorApplicationTransaction | $xaction |
| wild |
final public function getTitleForTextMail()Inherited
| wild |
final public function getTitleForHTMLMail()Inherited
| wild |
final public function getBodyForTextMail()Inherited
| wild |
final public function getBodyForHTMLMail()Inherited
| wild |
private function getTitleForMailWithRenderingTarget($target)Inherited
| $target |
| wild |
private function getBodyForMailWithRenderingTarget($target)Inherited
| $target |
| wild |
protected function getTitleForMail()Inherited
| wild |
protected function getBodyForMail()Inherited
| wild |
protected function validateCommitMessageCorpusTransactions($object, $xactions, $field_name)Inherited
| $object | ||
| array | $xactions | |
| $field_name |
| wild |
private function validateMessageCorpus($xaction, $field_name)Inherited
| $xaction | ||
| $field_name |
| wild |
protected function getActiveDiffPHID($revision)Inherited
| DifferentialRevision | $revision |
| wild |
final public function getRevisionActionKey()Inherited
| wild |
public function isActionAvailable($object, $viewer)Inherited
| $object | ||
| PhabricatorUser | $viewer |
| wild |
protected function validateAction($object, $viewer)
| $object | ||
| PhabricatorUser | $viewer |
| wild |
protected function getRevisionActionLabel($revision, $viewer)
| DifferentialRevision | $revision | |
| PhabricatorUser | $viewer |
| wild |
protected function validateOptionValue($object, $actor, $value)Inherited
| $object | ||
| $actor | ||
| array | $value |
| wild |
public function getCommandKeyword()Inherited
| wild |
public function getCommandAliases()Inherited
| wild |
public function getCommandSummary()Inherited
| wild |
protected function getRevisionActionOrder()
| wild |
public function getRevisionActionOrderVector()Inherited
| wild |
protected function getRevisionActionGroupKey()Inherited
| wild |
protected function getRevisionActionDescription($revision, $viewer)
| DifferentialRevision | $revision | |
| PhabricatorUser | $viewer |
| wild |
protected function getRevisionActionSubmitButtonText($revision, $viewer)
| DifferentialRevision | $revision | |
| PhabricatorUser | $viewer |
| wild |
protected function getRevisionActionMetadata($revision, $viewer)
| DifferentialRevision | $revision | |
| PhabricatorUser | $viewer |
| wild |
public static function loadAllActions()Inherited
| wild |
protected function isViewerRevisionAuthor($revision, $viewer)Inherited
| DifferentialRevision | $revision | |
| PhabricatorUser | $viewer |
| wild |
protected function getActionOptions($viewer, $revision)Inherited
| PhabricatorUser | $viewer | |
| DifferentialRevision | $revision |
| wild |
public function newEditField($revision, $viewer)Inherited
| DifferentialRevision | $revision | |
| PhabricatorUser | $viewer |
| wild |
private function getDraftPromotionSource()
| wild |
private function getActorSourceType($revision, $viewer)
| DifferentialRevision | $revision | |
| PhabricatorUser | $viewer |
| wild |