/** * @return array */ public function AjaxCalendarEventBase() { $mResult = false; $oAccount = $this->getDefaultAccountFromParam(); if (!$this->oApiCapability->isCalendarSupported($oAccount)) { throw new \ProjectCore\Exceptions\ClientException(\ProjectCore\Notifications::CalendarsNotAllowed); } $sCalendarId = $this->getParamValue('calendarId'); $sEventId = $this->getParamValue('uid'); $mResult = $this->oApiCalendar->getBaseEvent($oAccount, $sCalendarId, $sEventId); return $this->DefaultResponse($oAccount, __FUNCTION__, $mResult); }