Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phriction/editor/PhrictionTransactionEditor.php
Show First 20 Lines • Show All 74 Lines • ▼ Show 20 Lines | final class PhrictionTransactionEditor | ||||
public function getEditorObjectsDescription() { | public function getEditorObjectsDescription() { | ||||
return pht('Phriction Documents'); | return pht('Phriction Documents'); | ||||
} | } | ||||
public function getTransactionTypes() { | public function getTransactionTypes() { | ||||
$types = parent::getTransactionTypes(); | $types = parent::getTransactionTypes(); | ||||
$types[] = PhabricatorTransactions::TYPE_COMMENT; | |||||
$types[] = PhrictionTransaction::TYPE_TITLE; | $types[] = PhrictionTransaction::TYPE_TITLE; | ||||
$types[] = PhrictionTransaction::TYPE_CONTENT; | $types[] = PhrictionTransaction::TYPE_CONTENT; | ||||
$types[] = PhrictionTransaction::TYPE_DELETE; | $types[] = PhrictionTransaction::TYPE_DELETE; | ||||
$types[] = PhrictionTransaction::TYPE_MOVE_TO; | $types[] = PhrictionTransaction::TYPE_MOVE_TO; | ||||
$types[] = PhrictionTransaction::TYPE_MOVE_AWAY; | $types[] = PhrictionTransaction::TYPE_MOVE_AWAY; | ||||
$types[] = PhabricatorTransactions::TYPE_EDGE; | |||||
$types[] = PhabricatorTransactions::TYPE_COMMENT; | |||||
$types[] = PhabricatorTransactions::TYPE_VIEW_POLICY; | $types[] = PhabricatorTransactions::TYPE_VIEW_POLICY; | ||||
$types[] = PhabricatorTransactions::TYPE_EDIT_POLICY; | $types[] = PhabricatorTransactions::TYPE_EDIT_POLICY; | ||||
return $types; | return $types; | ||||
} | } | ||||
protected function getCustomTransactionOldValue( | protected function getCustomTransactionOldValue( | ||||
PhabricatorLiskDAO $object, | PhabricatorLiskDAO $object, | ||||
▲ Show 20 Lines • Show All 714 Lines • Show Last 20 Lines |