Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F123400181
PhabricatorCountdownTransaction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Jul 27, 02:43
Size
1 KB
Mime Type
text/x-php
Expires
Tue, Jul 29, 02:43 (2 d)
Engine
blob
Format
Raw Data
Handle
27678492
Attached To
rPH Phabricator
PhabricatorCountdownTransaction.php
View Options
<?php
final
class
PhabricatorCountdownTransaction
extends
PhabricatorModularTransaction
{
const
MAILTAG_DETAILS
=
'countdown:details'
;
const
MAILTAG_COMMENT
=
'countdown:comment'
;
const
MAILTAG_OTHER
=
'countdown:other'
;
public
function
getApplicationName
()
{
return
'countdown'
;
}
public
function
getApplicationTransactionType
()
{
return
PhabricatorCountdownCountdownPHIDType
::
TYPECONST
;
}
public
function
getApplicationTransactionCommentObject
()
{
return
new
PhabricatorCountdownTransactionComment
();
}
public
function
getBaseTransactionClass
()
{
return
'PhabricatorCountdownTransactionType'
;
}
public
function
getMailTags
()
{
$tags
=
parent
::
getMailTags
();
switch
(
$this
->
getTransactionType
())
{
case
PhabricatorTransactions
::
TYPE_COMMENT
:
$tags
[]
=
self
::
MAILTAG_COMMENT
;
break
;
case
PhabricatorCountdownTitleTransaction
::
TRANSACTIONTYPE
:
case
PhabricatorCountdownEpochTransaction
::
TRANSACTIONTYPE
:
case
PhabricatorCountdownDescriptionTransaction
::
TRANSACTIONTYPE
:
$tags
[]
=
self
::
MAILTAG_DETAILS
;
break
;
default
:
$tags
[]
=
self
::
MAILTAG_OTHER
;
break
;
}
return
$tags
;
}
}
Event Timeline
Log In to Comment