Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/editor/PhabricatorCalendarEditEngine.php
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | protected function getObjectName() { | ||||
return pht('Event'); | return pht('Event'); | ||||
} | } | ||||
protected function getObjectViewURI($object) { | protected function getObjectViewURI($object) { | ||||
return $object->getURI(); | return $object->getURI(); | ||||
} | } | ||||
protected function getEditorURI() { | protected function getEditorURI() { | ||||
return $this->getApplication()->getApplicationURI('event/editpro/'); | return $this->getApplication()->getApplicationURI('event/edit/'); | ||||
} | } | ||||
protected function buildCustomEditFields($object) { | protected function buildCustomEditFields($object) { | ||||
$viewer = $this->getViewer(); | $viewer = $this->getViewer(); | ||||
if ($this->getIsCreate()) { | if ($this->getIsCreate()) { | ||||
$invitee_phids = array($viewer->getPHID()); | $invitee_phids = array($viewer->getPHID()); | ||||
} else { | } else { | ||||
▲ Show 20 Lines • Show All 134 Lines • Show Last 20 Lines |