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

Открытые члены

 Init ($params)
 Show ($params=[])
 checkViewPermissions ()
 GetId ()

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

static SetDisplayedSuperposed ($userId=false, $idList=[])
static DeleteSection ($id)
static CollectExchangeErrors ($arErrors=[])
static DeleteEvent ($id, $doExternalSync=true, $params=[])
static SetOffset ($userId=false, $value=0)
static CollectCalDAVErros ($arErrors=[])
static GetPathForCalendarEx ($userId=0)
static IsExtranetUser ($userId=0)
static GetUserDepartment ($userId=0)
static SetUserDepartment ($userId=0, $dep=[])
static HandleImCallback ($module, $tag, $value, $arNotify)
static SetSettings ($settings=[], $clearOptions=false)
static IsBitrix24 ()
static ReminderAgent ($eventId=0, $userId=0, $viewPath='', $calendarType='', $ownerId=0, $index=0)
static GetMaxTimestamp ()
static SetMaxPlannerUsers (int $maxPlannerUsers)
static GetMaxPlannerUsers ()
static GetOwnerName ($type='', $ownerId='')
static GetTimezoneOffset ($timezoneId, $dateTimestamp=false)
static isDaylightSavingTimezone (string $timezoneId)
static GetAbsentEvents ($params)
static GetAccessibilityForUsers ($params)
static GetNearestEventsList ($params=[])
static GetTextLocation ($loc='')
static ParseLocation ($location='')
static GetUserPermissionsForCalendar ($calendarId, $userId)
static GetDayLen ()
static UnParseTextLocation ($loc='')
static ClearExchangeHtml ($html="")
static ParseHTMLToBB ($html="")
static WeekDayByInd ($i, $binv=true)
static IndByWeekDay (string $weekday)
static SaveEvent ($params=[])
static SaveEventEx ($params=[])
static getUserLanguageId (?int $userId)
static CountPastEvents ($params)
static ThrowError ($str)
static GetErrors ()
static UpdateUFRights ($files, $rights, $ufEntity=[])
static TempUser ($TmpUser=false, $create=true, $ID=false)
static SaveSection ($params)
static ClearCache ($arPath=[])
static CachePath ()
static SyncCalendarItems ($connectionType, $calendarId, $arCalendarItems)
static DeleteCalendarEvent ($eventId, $userId, $oEvent=false)
static Color ($color='', $defaultColor=true)
static FormatTime ($h=0, $m=0)
static GetUserId ()
static GetUserAvatarSrc ($user=[], $params=[])
static GetUserAvatar ($user=[], $params=[])
static GetUserUrl ($userId=0, $pathToUser="")
static GetAccessTasksByName ($binging='calendar_section', $name='calendar_denied')
static GetAccessTasks ($binging='calendar_section', $type='')
static PushAccessNames ($arCodes=[])
static GetOuterUrl ()
static AddConnection ($connection, $type='caldav')
static CheckCalDavUrl ($url, $username, $password)
static GetTypeByExternalId ($externalId=false)
static SetCurUserMeetingSection ($userMeetingSection)
static CacheTime ($time=false)
static _ParseHack (&$text, &$TextParser)
static IsSocnetAdmin ()
static GetMaxDate ()
static GetMinDate ()
static GetDestinationUsers ($codes, $fetchUsers=false)
static GetAttendeesMessage ($cnt=0)
static GetMoreAttendeesMessage ($cnt=0)
static GetFromToHtml ( $fromTs=false, $toTs=false, $skipTime=false, $dtLength=0, $forRrule=false, $languageId=null)
static GetSocNetDestination ($user_id=false, $selected=[], $userList=[])
static SaveUserTimezoneName ($user, $tzName='')
static OnSocNetGroupDelete ($groupId)
static OnDavCalendarSync (\Bitrix\Main\Event $event)
static SaveSyncDate ($userId, $syncType)
static SaveMultipleSyncDate ($userId, $syncType, $sectionId)
static OnExchangeCalendarSync (\Bitrix\Main\Event $event)
static UpdateCounter ($users=false, array $eventIds=[], array $groupIds=[])
static IsIntranetEnabled ()
static IsSocNet ()
static GetCurUserId ($refresh=false)
static GetSettings ($params=[])
static GetPathes ($forSite=null)
static GetPathesList ()
static GetUserNameTemplate ($fromSite=true)
static SetUserSettings ($settings=[], $userId=false)
static GetUserSettings ($userId=false)
static GetPermissions ($Params=[])
static getEntryUrl (string $calType, int $ownerId, int $entryId, string $dateFrom)
static GetPath ($type='', $ownerId='', $hard=false)
static GetSiteId ()
static GetServerPath ()
static GetServerName ()
static GetStartUpEvent ($eventId=false, $isSharing=false)
static Timestamp ($date, $bRound=true, $bTime=true)
static TimestampUTC (string $date)
static createDateTimeObjectFromString (string $date, ?string $timezone=null)
static TSFormat ($format="FULL")
static RoundTimestamp ($ts)
static IsPersonal ($type=false, $ownerId=false, $userId=false)
static IsExchangeEnabled ($userId=false)
static isGoogleApiEnabled ()
static IsCalDAVEnabled ()
static isIphoneConnected ()
static isMacConnected ()
static IsWebserviceEnabled ()
static IsExtranetEnabled ()
static GetCurrentOffsetUTC ($userId=false)
static GetOffset ($userId=false)
static GetUserTimezoneName ($user, $getDefault=true)
static GetUser ($userId, $bPhoto=false)
static GetUserList (array $userIdList)
static GetGoodTimezoneForOffset ($offset)
static GetTimezoneList ()
static GetUserName ($user)
static IsAdmin ()
static GetWeekStart ()
static Date ($timestamp, $bTime=true, $bRound=true, $bCutSeconds=false)
static DFormat ($bTime=true)
static DateWithNewTime ($timestampTime, $timestampDate)
static GetCurUserMeetingSection ($bCreate=false)
static GetMeetingSection ($userId, $autoCreate=false)
static GetCrmSection ($userId, $autoCreate=false)
static GetSectionList ($params=[])
static fetchIconsForSectionList ($sectionList)
static GetOwnerId ()
static GetEventList ($params, &$arAttendees)
static getTaskList (TaskQueryParameter $parameter)
static CutZeroTime ($date)
static GetType ()
static GetAccessNames ()
static SetSilentErrorMode ($silentErrorMode=true)
static getSectionListAvailableForUser ($userId, $additionalSectionIdList=[], $params=[])
static setOwnerId ($userId)
static isOffice365ApiEnabled ()
static getCurrentEventForSaving (int $eventId, $userId, $checkPermission)
static hasTypeAccess ()
static isReadOnly (array $sections, array $collabSectionList=[])
static getSectionsInfo ($isCollabUser)
static hasToCreateDefaultCalendar (array $sections)

Поля данных

const INTEGRATION_GOOGLE_API = "googleapi"
const CALENDAR_MAX_TIMESTAMP = 2145938400
const DEFAULT_TASK_COLOR = '#ff5b55'
const TASK_SECTION_ID = '1_tasks'
const CALENDAR_CHAT_ENTITY_TYPE = 'CALENDAR'
const DAY_LENGTH = 86400
const EDIT_PREFIX = 'EDIT'

Защищенные члены

 checkPermissions ()
 checkGroupPermissions ()
 doOpenEventInEditMode (string $id)
 getEditEventId (string $id)

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

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

Методы

◆ _ParseHack()

_ParseHack ( & $text,
& $TextParser )
static

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

◆ AddConnection()

AddConnection ( $connection,
$type = 'caldav' )
static

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

◆ CachePath()

CachePath ( )
static

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

◆ CacheTime()

CacheTime ( $time = false)
static

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

◆ CheckCalDavUrl()

CheckCalDavUrl ( $url,
$username,
$password )
static

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

◆ checkGroupPermissions()

checkGroupPermissions ( )
protected
Возвращает
bool
Исключения
Main

LoaderException

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

◆ checkPermissions()

checkPermissions ( )
protected
Возвращает
bool
Исключения
Main

Access\Exception\UnknownActionException

Исключения
Main

LoaderException

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

◆ checkViewPermissions()

checkViewPermissions ( )
Возвращает
void
Исключения
Main

Access\Exception\UnknownActionException

Исключения
Main

LoaderException

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

◆ ClearCache()

ClearCache ( $arPath = [])
static

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

◆ ClearExchangeHtml()

ClearExchangeHtml ( $html = "")
static

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

◆ CollectCalDAVErros()

CollectCalDAVErros ( $arErrors = [])
static

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

◆ CollectExchangeErrors()

CollectExchangeErrors ( $arErrors = [])
static

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

◆ Color()

Color ( $color = '',
$defaultColor = true )
static

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

◆ CountPastEvents()

CountPastEvents ( $params)
static

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

◆ createDateTimeObjectFromString()

createDateTimeObjectFromString ( string $date,
?string $timezone = null )
static

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

◆ CutZeroTime()

CutZeroTime ( $date)
static

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

◆ Date()

Date ( $timestamp,
$bTime = true,
$bRound = true,
$bCutSeconds = false )
static

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

◆ DateWithNewTime()

DateWithNewTime ( $timestampTime,
$timestampDate )
static

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

◆ DeleteCalendarEvent()

DeleteCalendarEvent ( $eventId,
$userId,
$oEvent = false )
static

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

◆ DeleteEvent()

DeleteEvent ( $id,
$doExternalSync = true,
$params = [] )
static
Аргументы
$id
bool$doExternalSync
array$paramsparams['sendNotification'] send notifications params['checkPermissions'] check permissions params['recursionMode'] check event recurrence (this|all)
Возвращает
bool|string
Исключения
Main

Access\Exception\UnknownActionException

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

◆ DeleteSection()

DeleteSection ( $id)
static

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

◆ DFormat()

DFormat ( $bTime = true)
static

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

◆ doOpenEventInEditMode()

doOpenEventInEditMode ( string $id)
protected

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

◆ fetchIconsForSectionList()

fetchIconsForSectionList ( $sectionList)
static

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

◆ FormatTime()

FormatTime ( $h = 0,
$m = 0 )
static

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

◆ GetAbsentEvents()

GetAbsentEvents ( $params)
static

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

◆ GetAccessibilityForUsers()

GetAccessibilityForUsers ( $params)
static

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

◆ GetAccessNames()

GetAccessNames ( )
static

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

◆ GetAccessTasks()

GetAccessTasks ( $binging = 'calendar_section',
$type = '' )
static

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

◆ GetAccessTasksByName()

GetAccessTasksByName ( $binging = 'calendar_section',
$name = 'calendar_denied' )
static

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

◆ GetAttendeesMessage()

GetAttendeesMessage ( $cnt = 0)
static

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

◆ GetCrmSection()

GetCrmSection ( $userId,
$autoCreate = false )
static

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

◆ getCurrentEventForSaving()

getCurrentEventForSaving ( int $eventId,
$userId,
$checkPermission )
static

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

◆ GetCurrentOffsetUTC()

GetCurrentOffsetUTC ( $userId = false)
static

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

◆ GetCurUserId()

GetCurUserId ( $refresh = false)
static

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

◆ GetCurUserMeetingSection()

GetCurUserMeetingSection ( $bCreate = false)
static

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

◆ GetDayLen()

GetDayLen ( )
static

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

◆ GetDestinationUsers()

GetDestinationUsers ( $codes,
$fetchUsers = false )
static

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

◆ getEditEventId()

getEditEventId ( string $id)
protected

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

◆ getEntryUrl()

getEntryUrl ( string $calType,
int $ownerId,
int $entryId,
string $dateFrom )
static
Аргументы
string$calType
int$ownerId
int$entryId
string$dateFrom
Возвращает
string

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

◆ GetErrors()

GetErrors ( )
static

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

◆ GetEventList()

GetEventList ( $params,
& $arAttendees )
static
Аргументы
array$params
array$arAttendees
Возвращает
array|null

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

◆ GetFromToHtml()

GetFromToHtml ( $fromTs = false,
$toTs = false,
$skipTime = false,
$dtLength = 0,
$forRrule = false,
$languageId = null )
static

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

◆ GetGoodTimezoneForOffset()

GetGoodTimezoneForOffset ( $offset)
static

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

◆ GetId()

GetId ( )

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

◆ GetMaxDate()

GetMaxDate ( )
static

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

◆ GetMaxPlannerUsers()

GetMaxPlannerUsers ( )
static

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

◆ GetMaxTimestamp()

GetMaxTimestamp ( )
static

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

◆ GetMeetingSection()

GetMeetingSection ( $userId,
$autoCreate = false )
static

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

◆ GetMinDate()

GetMinDate ( )
static

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

◆ GetMoreAttendeesMessage()

GetMoreAttendeesMessage ( $cnt = 0)
static

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

◆ GetNearestEventsList()

GetNearestEventsList ( $params = [])
static

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

◆ GetOffset()

GetOffset ( $userId = false)
static

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

◆ GetOuterUrl()

GetOuterUrl ( )
static

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

◆ GetOwnerId()

GetOwnerId ( )
static

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

◆ GetOwnerName()

GetOwnerName ( $type = '',
$ownerId = '' )
static

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

◆ GetPath()

GetPath ( $type = '',
$ownerId = '',
$hard = false )
static

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

◆ GetPathes()

GetPathes ( $forSite = null)
static

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

◆ GetPathesList()

GetPathesList ( )
static

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

◆ GetPathForCalendarEx()

GetPathForCalendarEx ( $userId = 0)
static

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

◆ GetPermissions()

GetPermissions ( $Params = [])
static

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

◆ GetSectionList()

GetSectionList ( $params = [])
static

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

◆ getSectionListAvailableForUser()

getSectionListAvailableForUser ( $userId,
$additionalSectionIdList = [],
$params = [] )
static

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

◆ getSectionsInfo()

getSectionsInfo ( $isCollabUser)
static
Исключения
Main

ObjectPropertyException

Исключения
Main

SystemException

Исключения
ArgumentException

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

◆ GetServerName()

GetServerName ( )
static

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

◆ GetServerPath()

GetServerPath ( )
static

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

◆ GetSettings()

GetSettings ( $params = [])
static

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

◆ GetSiteId()

GetSiteId ( )
static

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

◆ GetSocNetDestination()

GetSocNetDestination ( $user_id = false,
$selected = [],
$userList = [] )
static

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

◆ GetStartUpEvent()

GetStartUpEvent ( $eventId = false,
$isSharing = false )
static

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

◆ getTaskList()

getTaskList ( TaskQueryParameter $parameter)
static

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

◆ GetTextLocation()

GetTextLocation ( $loc = '')
static

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

◆ GetTimezoneList()

GetTimezoneList ( )
static

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

◆ GetTimezoneOffset()

GetTimezoneOffset ( $timezoneId,
$dateTimestamp = false )
static

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

◆ GetType()

GetType ( )
static

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

◆ GetTypeByExternalId()

GetTypeByExternalId ( $externalId = false)
static

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

◆ GetUser()

GetUser ( $userId,
$bPhoto = false )
static

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

◆ GetUserAvatar()

GetUserAvatar ( $user = [],
$params = [] )
static

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

◆ GetUserAvatarSrc()

GetUserAvatarSrc ( $user = [],
$params = [] )
static

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

◆ GetUserDepartment()

GetUserDepartment ( $userId = 0)
static

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

◆ GetUserId()

GetUserId ( )
static

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

◆ getUserLanguageId()

getUserLanguageId ( ?int $userId)
static

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

◆ GetUserList()

GetUserList ( array $userIdList)
static

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

◆ GetUserName()

GetUserName ( $user)
static

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

◆ GetUserNameTemplate()

GetUserNameTemplate ( $fromSite = true)
static

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

◆ GetUserPermissionsForCalendar()

GetUserPermissionsForCalendar ( $calendarId,
$userId )
static

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

◆ GetUserSettings()

GetUserSettings ( $userId = false)
static

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

◆ GetUserTimezoneName()

GetUserTimezoneName ( $user,
$getDefault = true )
static

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

◆ GetUserUrl()

GetUserUrl ( $userId = 0,
$pathToUser = "" )
static

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

◆ GetWeekStart()

GetWeekStart ( )
static

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

◆ HandleImCallback()

HandleImCallback ( $module,
$tag,
$value,
$arNotify )
static

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

◆ hasToCreateDefaultCalendar()

hasToCreateDefaultCalendar ( array $sections)
static

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

◆ hasTypeAccess()

hasTypeAccess ( )
static
Исключения
Main

Access\Exception\UnknownActionException

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

◆ IndByWeekDay()

IndByWeekDay ( string $weekday)
static

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

◆ Init()

Init ( $params)

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

◆ IsAdmin()

IsAdmin ( )
static

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

◆ IsBitrix24()

IsBitrix24 ( )
static

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

◆ IsCalDAVEnabled()

IsCalDAVEnabled ( )
static

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

◆ isDaylightSavingTimezone()

isDaylightSavingTimezone ( string $timezoneId)
static

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

◆ IsExchangeEnabled()

IsExchangeEnabled ( $userId = false)
static

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

◆ IsExtranetEnabled()

IsExtranetEnabled ( )
static

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

◆ IsExtranetUser()

IsExtranetUser ( $userId = 0)
static

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

◆ isGoogleApiEnabled()

isGoogleApiEnabled ( )
static

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

◆ IsIntranetEnabled()

IsIntranetEnabled ( )
static

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

◆ isIphoneConnected()

isIphoneConnected ( )
static

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

◆ isMacConnected()

isMacConnected ( )
static

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

◆ isOffice365ApiEnabled()

isOffice365ApiEnabled ( )
static

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

◆ IsPersonal()

IsPersonal ( $type = false,
$ownerId = false,
$userId = false )
static

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

◆ isReadOnly()

isReadOnly ( array $sections,
array $collabSectionList = [] )
static

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

◆ IsSocNet()

IsSocNet ( )
static

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

◆ IsSocnetAdmin()

IsSocnetAdmin ( )
static

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

◆ IsWebserviceEnabled()

IsWebserviceEnabled ( )
static

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

◆ OnDavCalendarSync()

OnDavCalendarSync ( \Bitrix\Main\Event $event)
static

Handles last caldav activity from mobile devices

Аргументы
\Bitrix\Main\Event$eventEvent.
Возвращает
null

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

◆ OnExchangeCalendarSync()

OnExchangeCalendarSync ( \Bitrix\Main\Event $event)
static

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

◆ OnSocNetGroupDelete()

OnSocNetGroupDelete ( $groupId)
static

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

◆ ParseHTMLToBB()

ParseHTMLToBB ( $html = "")
static

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

◆ ParseLocation()

ParseLocation ( $location = '')
static

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

◆ PushAccessNames()

PushAccessNames ( $arCodes = [])
static

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

◆ ReminderAgent()

ReminderAgent ( $eventId = 0,
$userId = 0,
$viewPath = '',
$calendarType = '',
$ownerId = 0,
$index = 0 )
static

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

◆ RoundTimestamp()

RoundTimestamp ( $ts)
static

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

◆ SaveEvent()

SaveEvent ( $params = [])
static

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

◆ SaveEventEx()

SaveEventEx ( $params = [])
static
Исключения
Main

ObjectException

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

◆ SaveMultipleSyncDate()

SaveMultipleSyncDate ( $userId,
$syncType,
$sectionId )
static
Аргументы
$userId
$syncType
$sectionId

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

◆ SaveSection()

SaveSection ( $params)
static

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

◆ SaveSyncDate()

SaveSyncDate ( $userId,
$syncType )
static

Saves date of last successful sync

Аргументы
int$userIdUser Id
string$syncTypeType of synchronization.
Возвращает
null

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

◆ SaveUserTimezoneName()

SaveUserTimezoneName ( $user,
$tzName = '' )
static

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

◆ SetCurUserMeetingSection()

SetCurUserMeetingSection ( $userMeetingSection)
static

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

◆ SetDisplayedSuperposed()

SetDisplayedSuperposed ( $userId = false,
$idList = [] )
static

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

◆ SetMaxPlannerUsers()

SetMaxPlannerUsers ( int $maxPlannerUsers)
static

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

◆ SetOffset()

SetOffset ( $userId = false,
$value = 0 )
static

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

◆ setOwnerId()

setOwnerId ( $userId)
static

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

◆ SetSettings()

SetSettings ( $settings = [],
$clearOptions = false )
static

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

◆ SetSilentErrorMode()

SetSilentErrorMode ( $silentErrorMode = true)
static

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

◆ SetUserDepartment()

SetUserDepartment ( $userId = 0,
$dep = [] )
static

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

◆ SetUserSettings()

SetUserSettings ( $settings = [],
$userId = false )
static

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

◆ Show()

Show ( $params = [])

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

◆ SyncCalendarItems()

SyncCalendarItems ( $connectionType,
$calendarId,
$arCalendarItems )
static

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

◆ TempUser()

TempUser ( $TmpUser = false,
$create = true,
$ID = false )
static

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

◆ ThrowError()

ThrowError ( $str)
static

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

◆ Timestamp()

Timestamp ( $date,
$bRound = true,
$bTime = true )
static

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

◆ TimestampUTC()

TimestampUTC ( string $date)
static

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

◆ TSFormat()

TSFormat ( $format = "FULL")
static

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

◆ UnParseTextLocation()

UnParseTextLocation ( $loc = '')
static

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

◆ UpdateCounter()

UpdateCounter ( $users = false,
array $eventIds = [],
array $groupIds = [] )
static

Updates counter in left menu in b24, sets amount of requests for meeting for current user or set of users

Аргументы
int | array$usersarray of user's ids or user id as an int
array$eventIdsarray of integer event ids
array$groupIdsarray of integer group ids to recalculate

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

◆ UpdateUFRights()

UpdateUFRights ( $files,
$rights,
$ufEntity = [] )
static

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

◆ WeekDayByInd()

WeekDayByInd ( $i,
$binv = true )
static

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

Поля

◆ CALENDAR_CHAT_ENTITY_TYPE

const CALENDAR_CHAT_ENTITY_TYPE = 'CALENDAR'

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

◆ CALENDAR_MAX_TIMESTAMP

const CALENDAR_MAX_TIMESTAMP = 2145938400

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

◆ DAY_LENGTH

const DAY_LENGTH = 86400

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

◆ DEFAULT_TASK_COLOR

const DEFAULT_TASK_COLOR = '#ff5b55'

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

◆ EDIT_PREFIX

const EDIT_PREFIX = 'EDIT'

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

◆ INTEGRATION_GOOGLE_API

const INTEGRATION_GOOGLE_API = "googleapi"

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

◆ TASK_SECTION_ID

const TASK_SECTION_ID = '1_tasks'

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


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