1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 10:52:41 +01:00
phorge-phorge/src/applications/slowvote/storage/PhabricatorSlowvoteTransaction.php

28 lines
611 B
PHP
Raw Normal View History

<?php
final class PhabricatorSlowvoteTransaction
extends PhabricatorApplicationTransaction {
const TYPE_NAME = 'vote:name';
const TYPE_DESCRIPTION = 'vote:description';
const TYPE_OPTION = 'vote:option';
public function getApplicationName() {
return 'slowvote';
}
public function getApplicationTransactionType() {
return PhabricatorPHIDConstants::PHID_TYPE_POLL;
}
public function getApplicationTransactionCommentObject() {
return new PhabricatorMacroTransactionComment();
}
public function getApplicationObjectTypeName() {
return pht('vote');
}
}