1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CCalendarEvent

Открытые статические члены

static CheckRRULE ($recRule=[])
static Edit ($params=[])
static GetById ($id, bool $checkPermissions=true, $loadOriginalRecursion=false)
static GetList ($params=[])
static ConnectEventToSection ($eventId, $sectionId)
static getAttendeeList ($entryIdList=[], array $openEventIdList=[])
static getUsersDetails ($userIdList=[], $params=[])
static GetAttendees ($eventIdList=[], $checkDeleted=true)
static GetAttendeeIds (array $eventIdList)
static ApplyAccessRestrictions ($event, $userId=null)
static convertDateToCulture (string $str)
static CheckRecurcion ($event)
static ParseText ($text="", $eventId=0, $arUFWDValue=[])
static getUFForParseText ($eventId=0, $arUFWDValue=[])
static ParseRecursion (&$res, $event, $params=[])
static getClosestRepetitionTs (int $limitFromTS, int $evFromTS, array $rrule)
static getFreqDuration (string $freq)
static ParseRRULE ($rule=null)
static GetExDate ($exDate='')
static CheckFields (&$arFields, $currentEvent=[], $userId=false)
static CheckEntryChanges ($newFields=[], $currentFields=[])
static UpdateParentEventExDate ($recurrenceId, $exDate, $attendeeIds)
static GetEventFromToForUser ($params, $userId)
static OnPullPrepareArFields ($arFields=[])
static UpdateUserFields ($eventId, $arFields=[], $updateSearchIndex=true)
static SetMeetingStatusEx ($params)
static SetMeetingStatus ($params)
static SetMeetingStatusForRecurrenceEvents (int $recurrenceId, int $userId, int $eventId, string $status, ?bool $updateDescription=null,)
static GetMeetingStatus ($userId, $eventId)
static GetAccessibilityForUsers ($params=[])
static GetAbsent ($users=null, $params=[])
static DeleteEmpty (int $sectionId)
static CleanEventsWithDeadParents ()
static CanView ($eventId, $userId)
static GetEventUserFields ($event)
static SetExDate ($exDate=[], $untilTimestamp=false)
static GetEventsByRecId ($recurrenceId, $checkPermissions=true, $userId=null)
static FixCommentsIfEventIsBroken (array $event)
static IsBrokenEventOfSeries (array $event)
static CleanUpBrokenRecursiveEvent (array $event)
static CleanUpBrokenRecursiveExclusion (string $commentXmlId)
static MoveCommentsToFirstRecurrence (array $event, string $currentEntityXmlId)
static GetEventCommentXmlId ($event)
static ExtractDateFromCommentXmlId ($xmlId='')
static GetRRULEDescription ($event, $html=false, $showUntil=true, $languageId=null)
static ExcludeInstance ($eventId, $excludeDate)
static getDiskUFFileNameList ($valueList=[])
static getSearchIndexContent ($eventId)
static updateSearchIndex ($eventIdList=[], $params=[])
static formatSearchIndexContent ($entry=[])
static getCrmElementTitle (string $item)
static GetCount ()
static updateColor ($eventId, $color='')
static prepareToken ($token)
static isFullTextIndexEnabled ()
static getUserIndex ()
static getEventForViewInterface ($entryId, $params=[])
static getEventForEditInterface ($entryId, $params=[])
static handleAccessCodes ($accessCodes=[], $params=[])
static checkLocationOccupancy (mixed $entryFields, array $params, mixed $currentEvent, int $userId)
static tryingToFindEventSection (bool $isNewEvent, mixed $entryFields, int $userId, mixed $currentEvent)
static generateUserIndex (array $involvedAttendees, $meetingHost)
static updateEventFields (array $event, array $fields)
static updateSyncStatus (int $eventId, string $status)
static checkLocationField ($location, $isNewEvent)
static prepareArFieldBeforeSyncEvent (array &$childParams)
static sortByDay (array $byDay)
static getEventPermissions (array $event, int $userId=0)
static getEventModelForPermissionCheck (int $eventId, array $event=[], int $userId=0)
static checkAttendeeBelongsToEvent ($eventId, $userId)
static getLimitDates (int $yearFrom, int $monthFrom, int $yearTo, int $monthTo)

Поля данных

 $openEventSection = false
 $getListAccessCheck = []

Статические открытые данные

static $TextParser
static $sendPush = true
static $defaultSelectEvent

Защищенные статические члены

static calculateUntilForCountRRule (array $arFields, int $offsetTs=0)

Подробное описание

См. определение в файле calendar_event.php строка 46

Методы

◆ ApplyAccessRestrictions()

ApplyAccessRestrictions ( $event,
$userId = null )
static

См. определение в файле calendar_event.php строка 2064

◆ calculateUntilForCountRRule()

calculateUntilForCountRRule ( array $arFields,
int $offsetTs = 0 )
staticprotected

См. определение в файле calendar_event.php строка 7003

◆ CanView()

CanView ( $eventId,
$userId )
static

См. определение в файле calendar_event.php строка 5428

◆ checkAttendeeBelongsToEvent()

checkAttendeeBelongsToEvent ( $eventId,
$userId )
static

См. определение в файле calendar_event.php строка 7179

◆ CheckEntryChanges()

CheckEntryChanges ( $newFields = [],
$currentFields = [] )
static

См. определение в файле calendar_event.php строка 3153

◆ CheckFields()

CheckFields ( & $arFields,
$currentEvent = [],
$userId = false )
static

См. определение в файле calendar_event.php строка 2956

◆ checkLocationField()

checkLocationField ( $location,
$isNewEvent )
static

См. определение в файле calendar_event.php строка 6712

◆ checkLocationOccupancy()

checkLocationOccupancy ( mixed $entryFields,
array $params,
mixed $currentEvent,
int $userId )
static
Аргументы
mixed$entryFields
array$params
mixed$currentEvent
int$userId
Исключения
Rooms

OccupancyCheckerException

См. определение в файле calendar_event.php строка 6466

◆ CheckRecurcion()

CheckRecurcion ( $event)
static

См. определение в файле calendar_event.php строка 2325

◆ CheckRRULE()

CheckRRULE ( $recRule = [])
static

См. определение в файле calendar_event.php строка 93

◆ CleanEventsWithDeadParents()

CleanEventsWithDeadParents ( )
static

См. определение в файле calendar_event.php строка 5405

◆ CleanUpBrokenRecursiveEvent()

CleanUpBrokenRecursiveEvent ( array $event)
static

См. определение в файле calendar_event.php строка 5597

◆ CleanUpBrokenRecursiveExclusion()

CleanUpBrokenRecursiveExclusion ( string $commentXmlId)
static

См. определение в файле calendar_event.php строка 5618

◆ ConnectEventToSection()

ConnectEventToSection ( $eventId,
$sectionId )
static

См. определение в файле calendar_event.php строка 1794

◆ convertDateToCulture()

convertDateToCulture ( string $str)
static

См. определение в файле calendar_event.php строка 2148

◆ DeleteEmpty()

DeleteEmpty ( int $sectionId)
static

См. определение в файле calendar_event.php строка 5356

◆ Edit()

Edit ( $params = [])
static
Аргументы
array$paramsparams['arFields'] event fields params['userId'] user id params['saveAttendeesStatus'] sending notification flag
Возвращает
bool|mixed
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ArgumentNullException

Исключения

Bitrix\Main\ArgumentOutOfRangeException

Исключения

Bitrix\Main\LoaderException

Исключения

Bitrix\Main\NotImplementedException

Исключения

Bitrix\Main\ObjectException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

Исключения

Bitrix\Calendar\Rooms\OccupancyCheckerException

См. определение в файле calendar_event.php строка 121

◆ ExcludeInstance()

ExcludeInstance ( $eventId,
$excludeDate )
static

См. определение в файле calendar_event.php строка 5865

◆ ExtractDateFromCommentXmlId()

ExtractDateFromCommentXmlId ( $xmlId = '')
static

См. определение в файле calendar_event.php строка 5699

◆ FixCommentsIfEventIsBroken()

FixCommentsIfEventIsBroken ( array $event)
static

Which events are broken: 1) events of a series created from the exclusion of another series 2) exclusions of a series created from the exclusion of another series 3) events of a series created from the exclusion of another subseries 4) the exclusions of a series created from the exclusion of another subseries

this method corrects event comments only when a recurring event is opened, but not when an exception is opened.

См. определение в файле calendar_event.php строка 5552

◆ formatSearchIndexContent()

formatSearchIndexContent ( $entry = [])
static

См. определение в файле calendar_event.php строка 6052

◆ generateUserIndex()

generateUserIndex ( array $involvedAttendees,
$meetingHost )
static
Аргументы
array$involvedAttendees
$meetingHost
Возвращает
array
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

См. определение в файле calendar_event.php строка 6582

◆ GetAbsent()

GetAbsent ( $users = null,
$params = [] )
static

См. определение в файле calendar_event.php строка 5219

◆ GetAccessibilityForUsers()

GetAccessibilityForUsers ( $params = [])
static
Аргументы
array$params$params = [ 'curEventId' => (int) 'userId' => (int) 'checkPermissions' => (bool) users => int[] from => string Time start period to => string Time finish period ]
Возвращает
array

См. определение в файле calendar_event.php строка 5075

◆ GetAttendeeIds()

GetAttendeeIds ( array $eventIdList)
static

См. определение в файле calendar_event.php строка 2034

◆ getAttendeeList()

getAttendeeList ( $entryIdList = [],
array $openEventIdList = [] )
static

selects all participants of the event by parentId

См. определение в файле calendar_event.php строка 1810

◆ GetAttendees()

GetAttendees ( $eventIdList = [],
$checkDeleted = true )
static

См. определение в файле calendar_event.php строка 1974

◆ GetById()

GetById ( $id,
bool $checkPermissions = true,
$loadOriginalRecursion = false )
static
Аргументы
$id
bool$checkPermissions
bool$loadOriginalRecursion
Возвращает
array|false

См. определение в файле calendar_event.php строка 806

◆ getClosestRepetitionTs()

getClosestRepetitionTs ( int $limitFromTS,
int $evFromTS,
array $rrule )
static

См. определение в файле calendar_event.php строка 2660

◆ GetCount()

GetCount ( )
static

См. определение в файле calendar_event.php строка 6155

◆ getCrmElementTitle()

getCrmElementTitle ( string $item)
static

См. определение в файле calendar_event.php строка 6146

◆ getDiskUFFileNameList()

getDiskUFFileNameList ( $valueList = [])
static

См. определение в файле calendar_event.php строка 5934

◆ GetEventCommentXmlId()

GetEventCommentXmlId ( $event)
static

См. определение в файле calendar_event.php строка 5671

◆ getEventForEditInterface()

getEventForEditInterface ( $entryId,
$params = [] )
static

См. определение в файле calendar_event.php строка 6381

◆ getEventForViewInterface()

getEventForViewInterface ( $entryId,
$params = [] )
static

См. определение в файле calendar_event.php строка 6200

◆ GetEventFromToForUser()

GetEventFromToForUser ( $params,
$userId )
static

См. определение в файле calendar_event.php строка 3870

◆ getEventModelForPermissionCheck()

getEventModelForPermissionCheck ( int $eventId,
array $event = [],
int $userId = 0 )
static

См. определение в файле calendar_event.php строка 7118

◆ getEventPermissions()

getEventPermissions ( array $event,
int $userId = 0 )
static

См. определение в файле calendar_event.php строка 7085

◆ GetEventsByRecId()

GetEventsByRecId ( $recurrenceId,
$checkPermissions = true,
$userId = null )
static

См. определение в файле calendar_event.php строка 5519

◆ GetEventUserFields()

GetEventUserFields ( $event)
static

См. определение в файле calendar_event.php строка 5481

◆ GetExDate()

GetExDate ( $exDate = '')
static
Аргументы
$exDate
Возвращает
array|false|string[]

См. определение в файле calendar_event.php строка 2914

◆ getFreqDuration()

getFreqDuration ( string $freq)
static

См. определение в файле calendar_event.php строка 2712

◆ getLimitDates()

getLimitDates ( int $yearFrom,
int $monthFrom,
int $yearTo,
int $monthTo )
static

См. определение в файле calendar_event.php строка 7210

◆ GetList()

GetList ( $params = [])
static

См. определение в файле calendar_event.php строка 830

◆ GetMeetingStatus()

GetMeetingStatus ( $userId,
$eventId )
static

См. определение в файле calendar_event.php строка 5037

◆ GetRRULEDescription()

GetRRULEDescription ( $event,
$html = false,
$showUntil = true,
$languageId = null )
static

См. определение в файле calendar_event.php строка 5713

◆ getSearchIndexContent()

getSearchIndexContent ( $eventId)
static

См. определение в файле calendar_event.php строка 5978

◆ getUFForParseText()

getUFForParseText ( $eventId = 0,
$arUFWDValue = [] )
static

См. определение в файле calendar_event.php строка 2363

◆ getUserIndex()

getUserIndex ( )
static

См. определение в файле calendar_event.php строка 6195

◆ getUsersDetails()

getUsersDetails ( $userIdList = [],
$params = [] )
static

См. определение в файле calendar_event.php строка 1941

◆ handleAccessCodes()

handleAccessCodes ( $accessCodes = [],
$params = [] )
static

См. определение в файле calendar_event.php строка 6444

◆ IsBrokenEventOfSeries()

IsBrokenEventOfSeries ( array $event)
static

См. определение в файле calendar_event.php строка 5592

◆ isFullTextIndexEnabled()

isFullTextIndexEnabled ( )
static

См. определение в файле calendar_event.php строка 6190

◆ MoveCommentsToFirstRecurrence()

MoveCommentsToFirstRecurrence ( array $event,
string $currentEntityXmlId )
static

См. определение в файле calendar_event.php строка 5639

◆ OnPullPrepareArFields()

OnPullPrepareArFields ( $arFields = [])
static

См. определение в файле calendar_event.php строка 3894

◆ ParseRecursion()

ParseRecursion ( & $res,
$event,
$params = [] )
static

См. определение в файле calendar_event.php строка 2381

◆ ParseRRULE()

ParseRRULE ( $rule = null)
static

См. определение в файле calendar_event.php строка 2732

◆ ParseText()

ParseText ( $text = "",
$eventId = 0,
$arUFWDValue = [] )
static

См. определение в файле calendar_event.php строка 2330

◆ prepareArFieldBeforeSyncEvent()

prepareArFieldBeforeSyncEvent ( array & $childParams)
static
Аргументы
array$childParams
Возвращает
void

См. определение в файле calendar_event.php строка 6732

◆ prepareToken()

prepareToken ( $token)
static

Applies ROT13 transform to search token, in order to bypass default mysql search blacklist.

Аргументы
string$tokenSearch token.
Возвращает
string

См. определение в файле calendar_event.php строка 6185

◆ SetExDate()

SetExDate ( $exDate = [],
$untilTimestamp = false )
static

См. определение в файле calendar_event.php строка 5497

◆ SetMeetingStatus()

SetMeetingStatus ( $params)
static

См. определение в файле calendar_event.php строка 4429

◆ SetMeetingStatusEx()

SetMeetingStatusEx ( $params)
static

См. определение в файле calendar_event.php строка 4330

◆ SetMeetingStatusForRecurrenceEvents()

SetMeetingStatusForRecurrenceEvents ( int $recurrenceId,
int $userId,
int $eventId,
string $status,
?bool $updateDescription = null )
static

См. определение в файле calendar_event.php строка 5003

◆ sortByDay()

sortByDay ( array $byDay)
static

См. определение в файле calendar_event.php строка 6892

◆ tryingToFindEventSection()

tryingToFindEventSection ( bool $isNewEvent,
mixed $entryFields,
int $userId,
mixed $currentEvent )
static
Аргументы
bool$isNewEvent
mixed$entryFields
int$userId
mixed$currentEvent
Возвращает
mixed

См. определение в файле calendar_event.php строка 6516

◆ updateColor()

updateColor ( $eventId,
$color = '' )
static

См. определение в файле calendar_event.php строка 6169

◆ updateEventFields()

updateEventFields ( array $event,
array $fields )
static
Аргументы
array$event
array$fields

См. определение в файле calendar_event.php строка 6673

◆ UpdateParentEventExDate()

UpdateParentEventExDate ( $recurrenceId,
$exDate,
$attendeeIds )
static

См. определение в файле calendar_event.php строка 3836

◆ updateSearchIndex()

updateSearchIndex ( $eventIdList = [],
$params = [] )
static

См. определение в файле calendar_event.php строка 5996

◆ updateSyncStatus()

updateSyncStatus ( int $eventId,
string $status )
static
Аргументы
int$eventId
string$status

См. определение в файле calendar_event.php строка 6698

◆ UpdateUserFields()

UpdateUserFields ( $eventId,
$arFields = [],
$updateSearchIndex = true )
static

См. определение в файле calendar_event.php строка 3924

Поля

◆ $defaultSelectEvent

$defaultSelectEvent
static
Инициализатор
= [
'ID',
'PARENT_ID',
'CREATED_BY',
'OWNER_ID',
'EVENT_TYPE',
'NAME',
'DATE_FROM',
'DATE_TO',
'TZ_FROM',
'TZ_TO',
'TZ_OFFSET_FROM',
'TZ_OFFSET_TO',
'DATE_FROM_TS_UTC',
'DATE_TO_TS_UTC',
'DT_SKIP_TIME',
'ACCESSIBILITY',
'IMPORTANCE',
'RRULE',
'EXDATE',
'SECTION_ID',
'CAL_TYPE',
'MEETING_STATUS',
'MEETING_HOST',
'IS_MEETING',
'DT_LENGTH',
'PRIVATE_EVENT',
]

См. определение в файле calendar_event.php строка 64

◆ $getListAccessCheck

$getListAccessCheck = []

См. определение в файле calendar_event.php строка 61

◆ $openEventSection

$openEventSection = false

См. определение в файле calendar_event.php строка 60

◆ $sendPush

$sendPush = true
static

См. определение в файле calendar_event.php строка 50

◆ $TextParser

$TextParser
static

См. определение в файле calendar_event.php строка 49


Объявления и описания членов класса находятся в файле: