mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-29 02:02:41 +01:00
28 lines
611 B
PHP
28 lines
611 B
PHP
|
<?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');
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|