final public function getTransactionTypeConstant()Inherited
final public function getTransactionTypeConstant()
Inherited
Return
wild |
public function generateOldValue($object)
public function generateOldValue($object)
Parameters
$object |
Return
wild |
public function generateNewValue($object, $value)
public function generateNewValue($object, $value)
Parameters
$object | ||
$value |
Return
wild |
public function validateTransactions($object, $xactions)
public function validateTransactions($object, $xactions)
Parameters
$object | ||
array | $xactions |
Return
wild |
public function applyInternalEffects($object, $value)
public function applyInternalEffects($object, $value)
Parameters
$object | ||
$value |
Return
wild |
public function applyExternalEffects($object, $value)Inherited
public function applyExternalEffects($object, $value)
Inherited
Parameters
$object | ||
$value |
Return
wild |
public function didCommitTransaction($object, $value)Inherited
public function didCommitTransaction($object, $value)
Inherited
Parameters
$object | ||
$value |
Return
wild |
public function getTransactionHasEffect($object, $old, $new)Inherited
public function getTransactionHasEffect($object, $old, $new)
Inherited
Parameters
$object | ||
$old | ||
$new |
Return
wild |
public function extractFilePHIDs($object, $value)Inherited
public function extractFilePHIDs($object, $value)
Inherited
Parameters
$object | ||
$value |
Return
wild |
public function shouldHide()Inherited
public function shouldHide()
Inherited
Return
wild |
public function shouldHideForFeed()Inherited
public function shouldHideForFeed()
Inherited
Return
wild |
public function shouldHideForMail()Inherited
public function shouldHideForMail()
Inherited
Return
wild |
public function shouldHideForNotifications()Inherited
public function shouldHideForNotifications()
Inherited
Return
wild |
public function getIcon()Inherited
public function getIcon()
Inherited
Return
wild |
public function getTitle()
public function getTitle()
Return
wild |
public function getTitleForFeed()Inherited
public function getTitleForFeed()
Inherited
Return
wild |
public function getActionName()Inherited
public function getActionName()
Inherited
Return
wild |
public function getActionStrength()Inherited
public function getActionStrength()
Inherited
Return
wild |
public function getColor()Inherited
public function getColor()
Inherited
Return
wild |
public function hasChangeDetailView()Inherited
public function hasChangeDetailView()
Inherited
Return
wild |
public function newChangeDetailView()Inherited
public function newChangeDetailView()
Inherited
Return
wild |
public function getMailDiffSectionHeader()Inherited
public function getMailDiffSectionHeader()
Inherited
Return
wild |
public function newRemarkupChanges()Inherited
public function newRemarkupChanges()
Inherited
Return
wild |
public function mergeTransactions($object, $u, $v)Inherited
public function mergeTransactions($object, $u, $v)
Inherited
Parameters
$object | ||
PhabricatorApplicationTransaction | $u | |
PhabricatorApplicationTransaction | $v |
Return
wild |
final public function setStorage($xaction)Inherited
final public function setStorage($xaction)
Inherited
Parameters
PhabricatorApplicationTransaction | $xaction |
Return
wild |
private function getStorage()Inherited
private function getStorage()
Inherited
Return
wild |
final public function setViewer($viewer)Inherited
final public function setViewer($viewer)
Inherited
Parameters
PhabricatorUser | $viewer |
Return
wild |
final protected function getViewer()Inherited
final protected function getViewer()
Inherited
Return
wild |
final public function getActor()Inherited
final public function getActor()
Inherited
Return
wild |
final public function getActingAsPHID()Inherited
final public function getActingAsPHID()
Inherited
Return
wild |
final public function setEditor($editor)Inherited
final public function setEditor($editor)
Inherited
Parameters
PhabricatorApplicationTransactionEditor | $editor |
Return
wild |
final protected function getEditor()Inherited
final protected function getEditor()
Inherited
Return
wild |
final protected function hasEditor()Inherited
final protected function hasEditor()
Inherited
Return
wild |
final protected function getAuthorPHID()Inherited
final protected function getAuthorPHID()
Inherited
Return
wild |
final protected function getObjectPHID()Inherited
final protected function getObjectPHID()
Inherited
Return
wild |
final protected function getObject()Inherited
final protected function getObject()
Inherited
Return
wild |
final protected function getOldValue()Inherited
final protected function getOldValue()
Inherited
Return
wild |
final protected function getNewValue()Inherited
final protected function getNewValue()
Inherited
Return
wild |
final protected function renderAuthor()Inherited
final protected function renderAuthor()
Inherited
Return
wild |
final protected function renderObject()Inherited
final protected function renderObject()
Inherited
Return
wild |
final protected function renderHandle($phid)Inherited
final protected function renderHandle($phid)
Inherited
Parameters
$phid |
Return
wild |
final protected function renderOldHandle()Inherited
final protected function renderOldHandle()
Inherited
Return
wild |
final protected function renderNewHandle()Inherited
final protected function renderNewHandle()
Inherited
Return
wild |
final protected function renderOldPolicy()Inherited
final protected function renderOldPolicy()
Inherited
Return
wild |
final protected function renderNewPolicy()Inherited
final protected function renderNewPolicy()
Inherited
Return
wild |
final protected function renderPolicy($phid, $mode)Inherited
final protected function renderPolicy($phid, $mode)
Inherited
Parameters
$phid | ||
$mode |
Return
wild |
final protected function renderHandleList($phids)Inherited
final protected function renderHandleList($phids)
Inherited
Parameters
array | $phids |
Return
wild |
final protected function renderValue($value)Inherited
final protected function renderValue($value)
Inherited
Parameters
$value |
Return
wild |
final protected function renderValueList($values)Inherited
final protected function renderValueList($values)
Inherited
Parameters
array | $values |
Return
wild |
final protected function renderOldValue()Inherited
final protected function renderOldValue()
Inherited
Return
wild |
final protected function renderNewValue()Inherited
final protected function renderNewValue()
Inherited
Return
wild |
final protected function renderDate($epoch)Inherited
final protected function renderDate($epoch)
Inherited
Parameters
$epoch |
Return
wild |
final protected function renderOldDate()Inherited
final protected function renderOldDate()
Inherited
Return
wild |
final protected function renderNewDate()Inherited
final protected function renderNewDate()
Inherited
Return
wild |
final protected function newError($title, $message, $xaction)Inherited
final protected function newError($title, $message, $xaction)
Inherited
Parameters
$title | ||
$message | ||
$xaction |
Return
wild |
final protected function newRequiredError($message, $xaction)Inherited
final protected function newRequiredError($message, $xaction)
Inherited
Parameters
$message | ||
$xaction |
Return
wild |
final protected function newInvalidError($message, $xaction)Inherited
final protected function newInvalidError($message, $xaction)
Inherited
Parameters
$message | ||
$xaction |
Return
wild |
final protected function isNewObject()Inherited
final protected function isNewObject()
Inherited
Return
wild |
final protected function isEmptyTextTransaction($value, $xactions)Inherited
final protected function isEmptyTextTransaction($value, $xactions)
Inherited
Parameters
$value | ||
array | $xactions |
Return
wild |
final protected function isRenderingTargetExternal()Inherited
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
final protected function isTextMode()
Inherited
Return
wild |
final protected function newRemarkupChange()Inherited
final protected function newRemarkupChange()
Inherited
Return
wild |
final protected function isCreateTransaction()Inherited
final protected function isCreateTransaction()
Inherited
Return
wild |
final protected function getPHIDList($old, $new)Inherited
final protected function getPHIDList($old, $new)
Inherited
Parameters
array | $old | |
array | $new |
Return
wild |
public function getMetadataValue($key, $default)Inherited
public function getMetadataValue($key, $default)
Inherited
Parameters
$key | ||
$default |
Return
wild |
public function loadTransactionTypeConduitData($xactions)Inherited
public function loadTransactionTypeConduitData($xactions)
Inherited
Parameters
array | $xactions |
Return
wild |
public function getTransactionTypeForConduit($xaction)Inherited
public function getTransactionTypeForConduit($xaction)
Inherited
Parameters
$xaction |
Return
wild |
public function getFieldValuesForConduit($xaction, $data)Inherited
public function getFieldValuesForConduit($xaction, $data)
Inherited
Parameters
$xaction | ||
$data |
Return
wild |
protected function requireApplicationCapability($capability)Inherited
protected function requireApplicationCapability($capability)
Inherited
Parameters
$capability |
Return
wild |
public function getRequiredCapabilities($object, $xaction)Inherited
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 | $object | Object being edited. |
PhabricatorApplicationTransaction | $xaction | Transaction 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
public function shouldTryMFA($object, $xaction)
Inherited
Parameters
$object | ||
PhabricatorApplicationTransaction | $xaction |
Return
wild |
final public function getTitleForTextMail()Inherited
final public function getTitleForTextMail()
Inherited
Return
wild |
final public function getTitleForHTMLMail()Inherited
final public function getTitleForHTMLMail()
Inherited
Return
wild |
final public function getBodyForTextMail()Inherited
final public function getBodyForTextMail()
Inherited
Return
wild |
final public function getBodyForHTMLMail()Inherited
final public function getBodyForHTMLMail()
Inherited
Return
wild |
private function getTitleForMailWithRenderingTarget($target)Inherited
private function getTitleForMailWithRenderingTarget($target)
Inherited
Parameters
$target |
Return
wild |
private function getBodyForMailWithRenderingTarget($target)Inherited
private function getBodyForMailWithRenderingTarget($target)
Inherited
Parameters
$target |
Return
wild |
protected function getTitleForMail()Inherited
protected function getTitleForMail()
Inherited
Return
wild |
protected function getBodyForMail()Inherited
protected function getBodyForMail()
Inherited
Return
wild |
protected function validateRefList($object, $xactions)Inherited
protected function validateRefList($object, $xactions)
Inherited
Parameters
$object | ||
array | $xactions |
Return
wild |