Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93894608
PhabricatorCalendarEventTransaction.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
Mon, Dec 2, 08:09
Size
1 KB
Mime Type
text/x-php
Expires
Wed, Dec 4, 08:09 (2 d)
Engine
blob
Format
Raw Data
Handle
22720722
Attached To
rPH Phabricator
PhabricatorCalendarEventTransaction.php
View Options
<?php
final
class
PhabricatorCalendarEventTransaction
extends
PhabricatorModularTransaction
{
const
MAILTAG_RESCHEDULE
=
'calendar-reschedule'
;
const
MAILTAG_CONTENT
=
'calendar-content'
;
const
MAILTAG_OTHER
=
'calendar-other'
;
public
function
getApplicationName
()
{
return
'calendar'
;
}
public
function
getApplicationTransactionType
()
{
return
PhabricatorCalendarEventPHIDType
::
TYPECONST
;
}
public
function
getApplicationTransactionCommentObject
()
{
return
new
PhabricatorCalendarEventTransactionComment
();
}
public
function
getBaseTransactionClass
()
{
return
'PhabricatorCalendarEventTransactionType'
;
}
public
function
getMailTags
()
{
$tags
=
array
();
switch
(
$this
->
getTransactionType
())
{
case
PhabricatorCalendarEventNameTransaction
::
TRANSACTIONTYPE
:
case
PhabricatorCalendarEventDescriptionTransaction
::
TRANSACTIONTYPE
:
case
PhabricatorCalendarEventInviteTransaction
::
TRANSACTIONTYPE
:
$tags
[]
=
self
::
MAILTAG_CONTENT
;
break
;
case
PhabricatorCalendarEventStartDateTransaction
::
TRANSACTIONTYPE
:
case
PhabricatorCalendarEventEndDateTransaction
::
TRANSACTIONTYPE
:
case
PhabricatorCalendarEventCancelTransaction
::
TRANSACTIONTYPE
:
$tags
[]
=
self
::
MAILTAG_RESCHEDULE
;
break
;
}
return
$tags
;
}
}
Event Timeline
Log In to Comment