Changeset View
Changeset View
Standalone View
Standalone View
src/applications/drydock/storage/DrydockBlueprintTransaction.php
<?php | <?php | ||||
final class DrydockBlueprintTransaction | final class DrydockBlueprintTransaction | ||||
extends PhabricatorApplicationTransaction { | extends PhabricatorApplicationTransaction { | ||||
const TYPE_NAME = 'drydock:blueprint:name'; | const TYPE_NAME = 'drydock:blueprint:name'; | ||||
public function getApplicationName() { | public function getApplicationName() { | ||||
return 'drydock'; | return 'drydock'; | ||||
} | } | ||||
public function getApplicationTransactionType() { | public function getApplicationTransactionType() { | ||||
return DrydockPHIDTypeBlueprint::TYPECONST; | return DrydockBlueprintPHIDType::TYPECONST; | ||||
} | } | ||||
public function getTitle() { | public function getTitle() { | ||||
$old = $this->getOldValue(); | $old = $this->getOldValue(); | ||||
$new = $this->getNewValue(); | $new = $this->getNewValue(); | ||||
$author_handle = $this->renderHandleLink($this->getAuthorPHID()); | $author_handle = $this->renderHandleLink($this->getAuthorPHID()); | ||||
switch ($this->getTransactionType()) { | switch ($this->getTransactionType()) { | ||||
Show All 18 Lines |