Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phortune/storage/PhortuneCartTransaction.php
Show All 13 Lines | final class PhortuneCartTransaction | ||||
public function getApplicationName() { | public function getApplicationName() { | ||||
return 'phortune'; | return 'phortune'; | ||||
} | } | ||||
public function getApplicationTransactionType() { | public function getApplicationTransactionType() { | ||||
return PhortuneCartPHIDType::TYPECONST; | return PhortuneCartPHIDType::TYPECONST; | ||||
} | } | ||||
public function getApplicationTransactionCommentObject() { | |||||
return null; | |||||
} | |||||
public function shouldHideForMail(array $xactions) { | public function shouldHideForMail(array $xactions) { | ||||
switch ($this->getTransactionType()) { | switch ($this->getTransactionType()) { | ||||
case self::TYPE_CREATED: | case self::TYPE_CREATED: | ||||
return true; | return true; | ||||
} | } | ||||
return parent::shouldHideForMail($xactions); | return parent::shouldHideForMail($xactions); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 58 Lines • Show Last 20 Lines |