/** * @return array */ public function AjaxCalendarDelete() { $mResult = false; $oAccount = $this->getDefaultAccountFromParam(); $sCalendarId = $this->getParamValue('Id'); $mResult = $this->oApiCalendar->deleteCalendar($oAccount, $sCalendarId); return $this->DefaultResponse($oAccount, __FUNCTION__, $mResult); }