Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F573815
FundInitiativeTransaction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
FundInitiativeTransaction.php
View Options
<?php
final
class
FundInitiativeTransaction
extends
PhabricatorModularTransaction
{
const
MAILTAG_BACKER
=
'fund.backer'
;
const
MAILTAG_STATUS
=
'fund.status'
;
const
MAILTAG_OTHER
=
'fund.other'
;
const
PROPERTY_AMOUNT
=
'fund.amount'
;
const
PROPERTY_BACKER
=
'fund.backer'
;
public
function
getApplicationName
()
{
return
'fund'
;
}
public
function
getApplicationTransactionType
()
{
return
FundInitiativePHIDType
::
TYPECONST
;
}
public
function
getApplicationTransactionCommentObject
()
{
return
new
FundInitiativeTransactionComment
();
}
public
function
getBaseTransactionClass
()
{
return
'FundInitiativeTransactionType'
;
}
protected
function
shouldPublishFeedStory
(
PhabricatorLiskDAO
$object
,
array
$xactions
)
{
return
true
;
}
public
function
getMailTags
()
{
$tags
=
parent
::
getMailTags
();
switch
(
$this
->
getTransactionType
())
{
case
FundInitiativeStatusTransaction
::
TRANSACTIONTYPE
:
$tags
[]
=
self
::
MAILTAG_STATUS
;
break
;
case
FundInitiativeBackerTransaction
::
TRANSACTIONTYPE
:
case
FundInitiativeRefundTransaction
::
TRANSACTIONTYPE
:
$tags
[]
=
self
::
MAILTAG_BACKER
;
break
;
default
:
$tags
[]
=
self
::
MAILTAG_OTHER
;
break
;
}
return
$tags
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 13, 6:10 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
125047
Default Alt Text
FundInitiativeTransaction.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment