Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96578163
PhameBlogTransaction.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
Sat, Dec 28, 10:53
Size
1 KB
Mime Type
text/x-php
Expires
Mon, Dec 30, 10:53 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23210375
Attached To
rPH Phabricator
PhameBlogTransaction.php
View Options
<?php
final
class
PhameBlogTransaction
extends
PhabricatorModularTransaction
{
const
MAILTAG_DETAILS
=
'phame-blog-details'
;
const
MAILTAG_SUBSCRIBERS
=
'phame-blog-subscribers'
;
const
MAILTAG_OTHER
=
'phame-blog-other'
;
public
function
getApplicationName
()
{
return
'phame'
;
}
public
function
getApplicationTransactionType
()
{
return
PhabricatorPhameBlogPHIDType
::
TYPECONST
;
}
public
function
getApplicationTransactionCommentObject
()
{
return
null
;
}
public
function
getBaseTransactionClass
()
{
return
'PhameBlogTransactionType'
;
}
public
function
getMailTags
()
{
$tags
=
parent
::
getMailTags
();
switch
(
$this
->
getTransactionType
())
{
case
PhabricatorTransactions
::
TYPE_SUBSCRIBERS
:
$tags
[]
=
self
::
MAILTAG_SUBSCRIBERS
;
break
;
case
PhameBlogNameTransaction
::
TRANSACTIONTYPE
:
case
PhameBlogSubtitleTransaction
::
TRANSACTIONTYPE
:
case
PhameBlogDescriptionTransaction
::
TRANSACTIONTYPE
:
case
PhameBlogFullDomainTransaction
::
TRANSACTIONTYPE
:
case
PhameBlogParentSiteTransaction
::
TRANSACTIONTYPE
:
case
PhameBlogParentDomainTransaction
::
TRANSACTIONTYPE
:
case
PhameBlogProfileImageTransaction
::
TRANSACTIONTYPE
:
case
PhameBlogHeaderImageTransaction
::
TRANSACTIONTYPE
:
$tags
[]
=
self
::
MAILTAG_DETAILS
;
break
;
default
:
$tags
[]
=
self
::
MAILTAG_OTHER
;
break
;
}
return
$tags
;
}
}
Event Timeline
Log In to Comment