|
static | isManagerForUser ($managerId, $userId) |
|
static | isSectionStructureConverted () |
|
static | getTimestamp ($date, $round=true, $getTime=true) |
|
static | isTimezoneValid (?string $timeZone) |
|
static | prepareTimezone (?string $tz=null) |
|
static | getDateObject (string $date=null, $fullDay=true, $tz='UTC') |
|
static | getUserSelectorContext () |
|
static | checkRuZone () |
|
static | convertEntitiesToCodes ($entityList=[]) |
|
static | convertCodesToEntities ($codeList=[]) |
|
static | getUsersByEntityList ($entityList, $fetchUsers=false) |
|
static | getDefaultEntityList ($userId, $type, $ownerId) |
|
static | getAttendees (array $codeAttendees=null, string $stringWrapper='') |
|
static | isExtranetUser (int $userId) |
|
static | getEventById (int $eventId) |
|
static | addPullEvent (string $command, int $userId, array $params=[]) |
|
static | initPlannerPullWatches (int $currentUserId, array $userIdList=[]) |
|
static | getUserFieldsByEventId (int $eventId) |
|
static | getServerTimezoneName () |
|
static | getServerOffsetUTC () |
|
static | getTimezoneOffsetFromServer (?string $tz='UTC', $date=null) |
|
static | setRequestUid (string $requestUid='') |
|
static | getRequestUid () |
|
static | getUserAccessCodes (int $userId) |
|
static | getPathToCalendar (?int $ownerId, ?string $type) |
|
static | getServerName () |
|
static | secondsToDayHoursMinutes (int $second) |
|
static | minutesToDayHoursMinutes (int $minutes) |
|
См. определение в файле util.php строка 14
◆ addPullEvent()
static addPullEvent |
( |
string |
$command, |
|
|
int |
$userId, |
|
|
array |
$params = [] |
|
) |
| |
|
static |
- Аргументы
-
string | $command | |
int | $userId | |
array | $params | |
- Возвращает
- bool
См. определение в файле util.php строка 371
◆ checkRuZone()
◆ convertCodesToEntities()
static convertCodesToEntities |
( |
|
$codeList = [] | ) |
|
|
static |
◆ convertEntitiesToCodes()
static convertEntitiesToCodes |
( |
|
$entityList = [] | ) |
|
|
static |
◆ getAttendees()
static getAttendees |
( |
array |
$codeAttendees = null , |
|
|
string |
$stringWrapper = '' |
|
) |
| |
|
static |
- Аргументы
-
array | null | $codeAttendees | |
string | $stringWrapper | |
- Возвращает
- array
- Исключения
-
ArgumentException
- Исключения
-
ObjectPropertyException
- Исключения
-
SystemException
См. определение в файле util.php строка 265
◆ getDateObject()
static getDateObject |
( |
string |
$date = null , |
|
|
|
$fullDay = true , |
|
|
|
$tz = 'UTC' |
|
) |
| |
|
static |
- Аргументы
-
string | null | $date | |
bool | $fullDay | |
string | $tz | |
- Возвращает
- Date
- Исключения
-
ObjectException
См. определение в файле util.php строка 100
◆ getDefaultEntityList()
static getDefaultEntityList |
( |
|
$userId, |
|
|
|
$type, |
|
|
|
$ownerId |
|
) |
| |
|
static |
◆ getEventById()
static getEventById |
( |
int |
$eventId | ) |
|
|
static |
- Аргументы
-
- Возвращает
- array|null
- Исключения
-
ArgumentException
- Исключения
-
ObjectPropertyException
- Исключения
-
SystemException
См. определение в файле util.php строка 337
◆ getPathToCalendar()
static getPathToCalendar |
( |
?int |
$ownerId, |
|
|
?string |
$type |
|
) |
| |
|
static |
- Аргументы
-
- Возвращает
- string
См. определение в файле util.php строка 572
◆ getRequestUid()
- Возвращает
- string
См. определение в файле util.php строка 518
◆ getServerName()
- Возвращает
- string
См. определение в файле util.php строка 647
◆ getServerOffsetUTC()
static getServerOffsetUTC |
( |
| ) |
|
|
static |
- Возвращает
- int
См. определение в файле util.php строка 476
◆ getServerTimezoneName()
static getServerTimezoneName |
( |
| ) |
|
|
static |
- Возвращает
- string
См. определение в файле util.php строка 468
◆ getTimestamp()
static getTimestamp |
( |
|
$date, |
|
|
|
$round = true , |
|
|
|
$getTime = true |
|
) |
| |
|
static |
- Аргументы
-
| $date | |
bool | $round | |
bool | $getTime | |
- Возвращает
- false|float|int
См. определение в файле util.php строка 53
◆ getTimezoneOffsetFromServer()
static getTimezoneOffsetFromServer |
( |
?string |
$tz = 'UTC' , |
|
|
|
$date = null |
|
) |
| |
|
static |
- Аргументы
-
string | null | $tz | |
null | $date | |
- Возвращает
- int
- Исключения
-
Exception
См. определение в файле util.php строка 487
◆ getUserAccessCodes()
static getUserAccessCodes |
( |
int |
$userId | ) |
|
|
static |
- Аргументы
-
- Возвращает
- array
См. определение в файле util.php строка 527
◆ getUserFieldsByEventId()
static getUserFieldsByEventId |
( |
int |
$eventId | ) |
|
|
static |
◆ getUsersByEntityList()
static getUsersByEntityList |
( |
|
$entityList, |
|
|
|
$fetchUsers = false |
|
) |
| |
|
static |
◆ getUserSelectorContext()
static getUserSelectorContext |
( |
| ) |
|
|
static |
- Возвращает
- string
См. определение в файле util.php строка 117
◆ initPlannerPullWatches()
static initPlannerPullWatches |
( |
int |
$currentUserId, |
|
|
array |
$userIdList = [] |
|
) |
| |
|
static |
- Аргументы
-
int | $currentUserId | |
array | $userIdList | |
- Возвращает
- void
См. определение в файле util.php строка 433
◆ isExtranetUser()
static isExtranetUser |
( |
int |
$userId | ) |
|
|
static |
- Аргументы
-
- Возвращает
- bool
- Исключения
-
ArgumentException
- Исключения
-
LoaderException
- Исключения
-
ObjectPropertyException
- Исключения
-
SystemException
См. определение в файле util.php строка 310
◆ isManagerForUser()
static isManagerForUser |
( |
|
$managerId, |
|
|
|
$userId |
|
) |
| |
|
static |
- Аргументы
-
- Возвращает
- bool
См. определение в файле util.php строка 32
◆ isSectionStructureConverted()
static isSectionStructureConverted |
( |
| ) |
|
|
static |
- Возвращает
- bool
- Исключения
-
ArgumentNullException
- Исключения
-
ArgumentOutOfRangeException
См. определение в файле util.php строка 42
◆ isTimezoneValid()
static isTimezoneValid |
( |
?string |
$timeZone | ) |
|
|
static |
- Аргументы
-
- Возвращает
- bool
См. определение в файле util.php строка 64
◆ minutesToDayHoursMinutes()
static minutesToDayHoursMinutes |
( |
int |
$minutes | ) |
|
|
static |
- Аргументы
-
- Возвращает
- int[]
См. определение в файле util.php строка 675
◆ prepareTimezone()
static prepareTimezone |
( |
?string |
$tz = null | ) |
|
|
static |
- Аргументы
-
- Возвращает
- \DateTimeZone
См. определение в файле util.php строка 73
◆ secondsToDayHoursMinutes()
static secondsToDayHoursMinutes |
( |
int |
$second | ) |
|
|
static |
- Аргументы
-
- Возвращает
- int[]
См. определение в файле util.php строка 657
◆ setRequestUid()
static setRequestUid |
( |
string |
$requestUid = '' | ) |
|
|
static |
◆ DATETIME_PHP_FORMAT
const DATETIME_PHP_FORMAT = 'Y-m-d H:i:sP' |
◆ DEFAULT_TIMEZONE
const DEFAULT_TIMEZONE = "UTC" |
◆ LIMIT_NUMBER_BANNER_IMPRESSIONS
const LIMIT_NUMBER_BANNER_IMPRESSIONS = 3 |
◆ USER_SELECTOR_CONTEXT
const USER_SELECTOR_CONTEXT = "CALENDAR" |
◆ VERSION_DIFFERENCE
const VERSION_DIFFERENCE = 1 |