3 final class PhabricatorCountdownTransaction
4 extends PhabricatorModularTransaction
{
6 const MAILTAG_DETAILS
= 'countdown:details';
7 const MAILTAG_COMMENT
= 'countdown:comment';
8 const MAILTAG_OTHER
= 'countdown:other';
10 public function getApplicationName() {
14 public function getApplicationTransactionType() {
15 return PhabricatorCountdownCountdownPHIDType
::TYPECONST
;
18 public function getApplicationTransactionCommentObject() {
19 return new PhabricatorCountdownTransactionComment();
22 public function getBaseTransactionClass() {
23 return 'PhabricatorCountdownTransactionType';
26 public function getMailTags() {
27 $tags = parent
::getMailTags();
29 switch ($this->getTransactionType()) {
30 case PhabricatorTransactions
::TYPE_COMMENT
:
31 $tags[] = self
::MAILTAG_COMMENT
;
33 case PhabricatorCountdownTitleTransaction
::TRANSACTIONTYPE
:
34 case PhabricatorCountdownEpochTransaction
::TRANSACTIONTYPE
:
35 case PhabricatorCountdownDescriptionTransaction
::TRANSACTIONTYPE
:
36 $tags[] = self
::MAILTAG_DETAILS
;
39 $tags[] = self
::MAILTAG_OTHER
;