Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/storage/PhabricatorCalendarImport.php
Show First 20 Lines • Show All 142 Lines • ▼ Show 20 Lines | /* -( PhabricatorApplicationTransactionInterface )------------------------- */ | ||||
public function getApplicationTransactionObject() { | public function getApplicationTransactionObject() { | ||||
return $this; | return $this; | ||||
} | } | ||||
public function getApplicationTransactionTemplate() { | public function getApplicationTransactionTemplate() { | ||||
return new PhabricatorCalendarImportTransaction(); | return new PhabricatorCalendarImportTransaction(); | ||||
} | } | ||||
public function willRenderTimeline( | |||||
PhabricatorApplicationTransactionView $timeline, | |||||
AphrontRequest $request) { | |||||
return $timeline; | |||||
} | |||||
public function newLogMessage($type, array $parameters) { | public function newLogMessage($type, array $parameters) { | ||||
$parameters = array( | $parameters = array( | ||||
'type' => $type, | 'type' => $type, | ||||
) + $parameters; | ) + $parameters; | ||||
return id(new PhabricatorCalendarImportLog()) | return id(new PhabricatorCalendarImportLog()) | ||||
->setImportPHID($this->getPHID()) | ->setImportPHID($this->getPHID()) | ||||
->setParameters($parameters) | ->setParameters($parameters) | ||||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |