Page MenuHomec4science

PhabricatorCalendarEventAcceptTransaction.php
No OneTemporary

File Metadata

Created
Thu, Dec 26, 03:01

PhabricatorCalendarEventAcceptTransaction.php

<?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