Changeset View
Changeset View
Standalone View
Standalone View
src/applications/harbormaster/editor/HarbormasterBuildPlanEditor.php
Show All 9 Lines | final class HarbormasterBuildPlanEditor | ||||
public function getEditorObjectsDescription() { | public function getEditorObjectsDescription() { | ||||
return pht('Harbormaster Build Plans'); | return pht('Harbormaster Build Plans'); | ||||
} | } | ||||
public function getTransactionTypes() { | public function getTransactionTypes() { | ||||
$types = parent::getTransactionTypes(); | $types = parent::getTransactionTypes(); | ||||
$types[] = HarbormasterBuildPlanTransaction::TYPE_NAME; | $types[] = HarbormasterBuildPlanTransaction::TYPE_NAME; | ||||
$types[] = HarbormasterBuildPlanTransaction::TYPE_STATUS; | $types[] = HarbormasterBuildPlanTransaction::TYPE_STATUS; | ||||
$types[] = PhabricatorTransactions::TYPE_COMMENT; | $types[] = PhabricatorTransactions::TYPE_VIEW_POLICY; | ||||
$types[] = PhabricatorTransactions::TYPE_EDIT_POLICY; | |||||
return $types; | return $types; | ||||
} | } | ||||
protected function getCustomTransactionOldValue( | protected function getCustomTransactionOldValue( | ||||
PhabricatorLiskDAO $object, | PhabricatorLiskDAO $object, | ||||
PhabricatorApplicationTransaction $xaction) { | PhabricatorApplicationTransaction $xaction) { | ||||
switch ($xaction->getTransactionType()) { | switch ($xaction->getTransactionType()) { | ||||
case HarbormasterBuildPlanTransaction::TYPE_NAME: | case HarbormasterBuildPlanTransaction::TYPE_NAME: | ||||
▲ Show 20 Lines • Show All 79 Lines • Show Last 20 Lines |