Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/customfield/field/PhabricatorCustomField.php
Show First 20 Lines • Show All 1,049 Lines • ▼ Show 20 Lines | /* -( ApplicationTransactions )-------------------------------------------- */ | ||||
public function shouldHideInApplicationTransactions( | public function shouldHideInApplicationTransactions( | ||||
PhabricatorApplicationTransaction $xaction) { | PhabricatorApplicationTransaction $xaction) { | ||||
if ($this->proxy) { | if ($this->proxy) { | ||||
return $this->proxy->shouldHideInApplicationTransactions($xaction); | return $this->proxy->shouldHideInApplicationTransactions($xaction); | ||||
} | } | ||||
return false; | return false; | ||||
} | } | ||||
/** | |||||
* TODO: this is only used by Diffusion right now and everything is completely | |||||
* faked since Diffusion doesn't use ApplicationTransactions yet. This should | |||||
* get fleshed out as we have more use cases. | |||||
* | |||||
* @task appxaction | |||||
*/ | |||||
public function buildApplicationTransactionMailBody( | |||||
PhabricatorApplicationTransaction $xaction, | |||||
PhabricatorMetaMTAMailBody $body) { | |||||
if ($this->proxy) { | |||||
return $this->proxy->buildApplicationTransactionMailBody($xaction, $body); | |||||
} | |||||
return; | |||||
} | |||||
/* -( Transaction Mail )--------------------------------------------------- */ | /* -( Transaction Mail )--------------------------------------------------- */ | ||||
/** | /** | ||||
* @task xactionmail | * @task xactionmail | ||||
*/ | */ | ||||
public function shouldAppearInTransactionMail() { | public function shouldAppearInTransactionMail() { | ||||
▲ Show 20 Lines • Show All 300 Lines • Show Last 20 Lines |