- Модуль: calendar
- Путь к файлу: ~/bitrix/modules/calendar/classes/general/calendar_request.php
- Класс: CCalendarRequest
- Вызов: CCalendarRequest::SetStatus
static function SetStatus()
{
CCalendarEvent::SetMeetingStatusEx(array(
'attendeeId' => CCalendar::GetUserId(),
'eventId' => (int)$_REQUEST['event_id'],
'parentId' => (int)$_REQUEST['parent_id'],
'status' => in_array($_REQUEST['status'], array('Q', 'Y', 'N')) ? $_REQUEST['status'] : 'Q',
'reccurentMode' => in_array($_REQUEST['reccurent_mode'], array('this', 'next', 'all')) ? $_REQUEST['reccurent_mode'] : false,
'currentDateFrom' => CCalendar::Date(CCalendar::Timestamp($_REQUEST['current_date_from']), false)
));
self::OutputJSRes(self::$reqId, true);
}