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