Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97027387
PhabricatorCalendarEventUntilDateTransaction.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
Wed, Jan 1, 18:57
Size
832 B
Mime Type
text/x-php
Expires
Fri, Jan 3, 18:57 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23315171
Attached To
rPH Phabricator
PhabricatorCalendarEventUntilDateTransaction.php
View Options
<?php
final
class
PhabricatorCalendarEventUntilDateTransaction
extends
PhabricatorCalendarEventDateTransaction
{
const
TRANSACTIONTYPE
=
'calendar.recurrenceenddate'
;
public
function
generateOldValue
(
$object
)
{
return
$object
->
getRecurrenceEndDate
();
}
public
function
applyInternalEffects
(
$object
,
$value
)
{
$object
->
setRecurrenceEndDate
(
$value
);
}
public
function
getTitle
()
{
return
pht
(
'%s changed this event to repeat until %s.'
,
$this
->
renderAuthor
(),
$this
->
renderNewDate
());
}
public
function
getTitleForFeed
()
{
return
pht
(
'%s changed %s to repeat until %s.'
,
$this
->
renderAuthor
(),
$this
->
renderObject
(),
$this
->
renderNewDate
());
}
protected
function
getInvalidDateMessage
()
{
return
pht
(
'Repeat until date is invalid.'
);
}
}
Event Timeline
Log In to Comment