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)
$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()Inherited
wild |
public function getActionName()Inherited
wild |
public function getActionStrength()Inherited
wild |
public function getColor()Inherited
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)Inherited
$xaction |
wild |
public function getFieldValuesForConduit($xaction, $data)Inherited
$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 getAlmanacPropertyOldValue($object)Inherited
$object |
wild |
protected function setAlmanacProperty($object, $value)Inherited
$object | ||
$value |
wild |
protected function deleteAlmanacProperty($object)Inherited
$object |
wild |
protected function getAlmanacSetPropertyTitle()Inherited
wild |
protected function getAlmanacDeletePropertyTitle()Inherited
wild |
protected function validateAlmanacSetPropertyTransactions($object, $xactions)Inherited
$object | ||
array | $xactions |
wild |