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

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

static getIcalTemplateDate (array $params=null)
static getDateObject (string $date=null, $fullDay=true, $tz='UTC')
static getIcalTemplateRRule (array $rrule=null, array $params=null)
static getUniqId ()
static getServerName ()
static getTimezoneObject (string $tz=null)
static getEventByUId (?string $uid)
static getUserById (?int $id)
static getIndexUsersByIds (?array $idList)
static getMailAttaches ($fields, $userId, $parentId, &$isChangeFiles=false)
static getAttendee (int $userId, int $eventParentId, $isRsvp=true)
static getAttendeesByEventParentId (int $parentId)
static getIcalDateTime (string $dateTime=null, string $tz=null)
static getIcalDate (string $date=null)
static getUserIdByEmail (array $userInfo)
static getExternalUserByEmail ($params, &$errorText)
static getEventDescriptionById (?int $eventId)
static getEventById (?int $eventId)
static getIcalDateTimeShort (string $dateTime=null, string $tz='UTC')
static getShortMonthName (?Date $date)
static getDateByParserProperty (?ParserPropertyType $date)

Поля данных

const ICAL_DATETIME_FORMAT_UTC = 'Ymd\THis\Z'
const ICAL_DATETIME_FORMAT = 'Ymd\THis'
const ICAL_DATETIME_FORMAT_SHORT = 'Ymd\THis'
const ICAL_DATE_FORMAT = 'Ymd'
const END_OF_TIME = "01.01.2038"

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

static isNotEndOfTime ($until)

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

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

Методы

◆ getAttendee()

getAttendee ( int $userId,
int $eventParentId,
$isRsvp = true )
static
Исключения
ObjectPropertyException
ArgumentException
SystemException

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

◆ getAttendeesByEventParentId()

getAttendeesByEventParentId ( int $parentId)
static
Аргументы
int$parentId
Возвращает
AttendeesCollection

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

◆ getDateByParserProperty()

getDateByParserProperty ( ?ParserPropertyType $date)
static
Аргументы
ParserPropertyType | null$date
Возвращает
Date|null
Исключения

Bitrix\Main\ObjectException

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

◆ getDateObject()

getDateObject ( string $date = null,
$fullDay = true,
$tz = 'UTC' )
static
Аргументы
string | null$date
bool$fullDay
string$tz
Возвращает
Date
Исключения

Bitrix\Main\ObjectException

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

◆ getEventById()

getEventById ( ?int $eventId)
static
Исключения
ObjectPropertyException
SystemException
ArgumentException

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

◆ getEventByUId()

getEventByUId ( ?string $uid)
static
Аргументы
$userId
$uid
Возвращает
array|null
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ getEventDescriptionById()

getEventDescriptionById ( ?int $eventId)
static
Аргументы
int | null$eventId
Возвращает
string|null
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ getExternalUserByEmail()

getExternalUserByEmail ( $params,
& $errorText )
static

Returns id of the 'external' user by email. Creates user if it not exists.

Аргументы
array$params- incoming params: $params['EMAIL'] - (required) email of the user $params['NAME'] - user's name $params['LAST_NAME'] - user's last name
Возвращает
int|null

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

◆ getIcalDate()

getIcalDate ( string $date = null)
static
Аргументы
string | null$date
Возвращает
Date
Исключения

Bitrix\Main\ObjectException

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

◆ getIcalDateTime()

getIcalDateTime ( string $dateTime = null,
string $tz = null )
static
Аргументы
string | null$dateTime
string | null$tz
Возвращает
DateTime
Исключения

Bitrix\Main\ObjectException

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

◆ getIcalDateTimeShort()

getIcalDateTimeShort ( string $dateTime = null,
string $tz = 'UTC' )
static
Аргументы
string | null$dateTime
string$tz
Возвращает
DateTime
Исключения

Bitrix\Main\ObjectException

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

◆ getIcalTemplateDate()

getIcalTemplateDate ( array $params = null)
static
Аргументы
array | null$params
Возвращает
string
Исключения

Bitrix\Main\ObjectException

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

◆ getIcalTemplateRRule()

getIcalTemplateRRule ( array $rrule = null,
array $params = null )
static
Аргументы
array | null$rrule
array | null$params
Возвращает
string

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

◆ getIndexUsersByIds()

getIndexUsersByIds ( ?array $idList)
static
Аргументы
array | null$idList
Возвращает
array
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ getMailAttaches()

getMailAttaches ( $fields,
$userId,
$parentId,
& $isChangeFiles = false )
static
Аргументы
$fields
$userId
$parentId
false$isChangeFiles
Возвращает
AttachCollection
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\LoaderException

Исключения

Bitrix\Main\NotImplementedException

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

◆ getServerName()

getServerName ( )
static
Возвращает
false|string|null

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

◆ getShortMonthName()

getShortMonthName ( ?Date $date)
static
Аргументы
Date | null$date
Возвращает
string

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

◆ getTimezoneObject()

getTimezoneObject ( string $tz = null)
static
Аргументы
string | null$tz
Возвращает
DateTimeZone

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

◆ getUniqId()

getUniqId ( )
static
Возвращает
string

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

◆ getUserById()

getUserById ( ?int $id)
static
Аргументы
int | null$id
Возвращает
array|null
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ getUserIdByEmail()

getUserIdByEmail ( array $userInfo)
static
Аргументы
array$userInfo
Возвращает
int|null
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ isNotEndOfTime()

isNotEndOfTime ( $until)
staticprotected
Аргументы
$until
Возвращает
bool
Исключения

Bitrix\Main\ObjectException

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

Поля

◆ END_OF_TIME

const END_OF_TIME = "01.01.2038"

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

◆ ICAL_DATE_FORMAT

const ICAL_DATE_FORMAT = 'Ymd'

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

◆ ICAL_DATETIME_FORMAT

const ICAL_DATETIME_FORMAT = 'Ymd\THis'

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

◆ ICAL_DATETIME_FORMAT_SHORT

const ICAL_DATETIME_FORMAT_SHORT = 'Ymd\THis'

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

◆ ICAL_DATETIME_FORMAT_UTC

const ICAL_DATETIME_FORMAT_UTC = 'Ymd\THis\Z'

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/calendar/lib/ical/mailinvitation/helper.php