Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96375415
PhabricatorCalendarEventAcceptTransaction.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
Thu, Dec 26, 03:01
Size
550 B
Mime Type
text/x-php
Expires
Sat, Dec 28, 03:01 (2 d)
Engine
blob
Format
Raw Data
Handle
23158895
Attached To
rPH Phabricator
PhabricatorCalendarEventAcceptTransaction.php
View Options
<?php
final
class
PhabricatorCalendarEventAcceptTransaction
extends
PhabricatorCalendarEventReplyTransaction
{
const
TRANSACTIONTYPE
=
'calendar.accept'
;
public
function
generateNewValue
(
$object
,
$value
)
{
return
PhabricatorCalendarEventInvitee
::
STATUS_ATTENDING
;
}
public
function
getTitle
()
{
return
pht
(
'%s is attending this event.'
,
$this
->
renderAuthor
());
}
public
function
getTitleForFeed
()
{
return
pht
(
'%s is attending %s.'
,
$this
->
renderAuthor
(),
$this
->
renderObject
());
}
}
Event Timeline
Log In to Comment