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

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

 getLinkArrayByHash (string $hash)
 getLinkByHash (string $hash)
 getAllUserLinks (int $userId)
 getUserLinks ($userId)
 getUserJointLinks ($userId)
 getGroupLinks (int $groupId, int $userId)
 createUserLink (int $userId)
 createEventLink (array $params)
 createCrmDealLink (int $ownerId, int $entityId, ?array $memberIds=[], ?int $contactId=null, ?int $contactType=null, ?string $channelId=null, ?string $senderId=null,)
 createUserJointLink (int $userId, array $memberIds)
 createCrmDealJointLink (CrmDealLink $crmDealLink, array $memberIds)
 createGroupLink (int $groupId, int $userId)
 createGroupJointLink (int $groupId, array $memberIds)
 generateMembersHash (int $userId, array $memberIds, string $prefix='')
 getEventLinkByEventId (int $eventId, bool $searchActiveOnly=true)
 getDeletedEventLinkByEventId (int $eventId)
 getCrmDealLink (int $entityId, int $ownerId, ?array $memberIds=[], ?int $contactId=null, ?int $contactType=null,)
 getLastSentCrmDealLink (int $ownerId)
 getJointLinkByMembersHash (string $membersHash)
 getGroupJointLinkByMembersHash (int $groupId, string $membersHash)
 getParentLinkByConferenceId (string $conferenceId)
 getCrmDealJointLink (int $entityId, int $ownerId, ?int $contactId=null, ?int $contactType=null)

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

static getInstance ()

Защищенные данные

const SELECT = ['*', 'MEMBERS', 'MEMBERS.USER', 'MEMBERS.IMAGE']

Статические защищенные данные

static Factory $instance = null
static UserLinkMapper $userLinkMapper = null
static EventLinkMapper $eventLinkMapper = null
static CrmDealLinkMapper $crmDealLinkMapper = null
static GroupLinkMapper $groupLinkMapper = null

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

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

Методы

◆ createCrmDealJointLink()

createCrmDealJointLink ( CrmDealLink $crmDealLink,
array $memberIds )

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

◆ createCrmDealLink()

createCrmDealLink ( int $ownerId,
int $entityId,
?array $memberIds = [],
?int $contactId = null,
?int $contactType = null,
?string $channelId = null,
?string $senderId = null )

creates crm deal public link for calendar sharing

Аргументы
int$ownerId
int$entityId
int | null$contactId
int | null$contactType
string | null$channelId
string | null$senderId
Возвращает
CrmDealLink
Исключения
ArgumentException

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

◆ createEventLink()

createEventLink ( array $params)

creates public link for sharing event

Аргументы
int$eventId
int$ownerId
int$hostId
string$parentLinkHash
DateTime | null$expireDate
Возвращает
EventLink
Исключения
ArgumentException

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

◆ createGroupJointLink()

createGroupJointLink ( int $groupId,
array $memberIds )

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

◆ createGroupLink()

createGroupLink ( int $groupId,
int $userId )

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

◆ createUserJointLink()

createUserJointLink ( int $userId,
array $memberIds )

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

◆ createUserLink()

createUserLink ( int $userId)

creates user public link for calendar sharing by user id

Аргументы
int$userId
Возвращает
$this
Исключения

Bitrix\Main\ArgumentException

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

◆ generateMembersHash()

generateMembersHash ( int $userId,
array $memberIds,
string $prefix = '' )

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

◆ getAllUserLinks()

getAllUserLinks ( int $userId)
Аргументы
int$userId
Возвращает
array
Исключения
ArgumentException

Bitrix\Main\SystemException

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

◆ getCrmDealJointLink()

getCrmDealJointLink ( int $entityId,
int $ownerId,
?int $contactId = null,
?int $contactType = null )

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

◆ getCrmDealLink()

getCrmDealLink ( int $entityId,
int $ownerId,
?array $memberIds = [],
?int $contactId = null,
?int $contactType = null )

gets crm deal public link for calendar sharing

Аргументы
int$entityId
int$ownerId
int | null$contactId
int | null$contactType
Возвращает
\Bitrix\Calendar\Core\Base\EntityInterface|null
Исключения
ArgumentException

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ getDeletedEventLinkByEventId()

getDeletedEventLinkByEventId ( int $eventId)

gets calendar sharing event public link by enetId

Аргументы
int$eventId
Возвращает
\Bitrix\Calendar\Core\Base\EntityInterface|null
Исключения
ArgumentException

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ getEventLinkByEventId()

getEventLinkByEventId ( int $eventId,
bool $searchActiveOnly = true )

gets calendar sharing event public link by eventId

Аргументы
int$eventId
Возвращает
\Bitrix\Calendar\Core\Base\EntityInterface|null
Исключения
ArgumentException

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ getGroupJointLinkByMembersHash()

getGroupJointLinkByMembersHash ( int $groupId,
string $membersHash )

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

◆ getGroupLinks()

getGroupLinks ( int $groupId,
int $userId )

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

◆ getInstance()

getInstance ( )
static
Возвращает
Factory

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

◆ getJointLinkByMembersHash()

getJointLinkByMembersHash ( string $membersHash)

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

◆ getLastSentCrmDealLink()

getLastSentCrmDealLink ( int $ownerId)

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

◆ getLinkArrayByHash()

getLinkArrayByHash ( string $hash)

returns public link data in array by hash

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

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ getLinkByHash()

getLinkByHash ( string $hash)

gets public link object by hash

Аргументы
string$hash
Возвращает
\Bitrix\Calendar\Core\Base\EntityInterface|null
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

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

◆ getParentLinkByConferenceId()

getParentLinkByConferenceId ( string $conferenceId)

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

◆ getUserJointLinks()

getUserJointLinks ( $userId)

gets user joint public links by user id

Аргументы
$userId
Возвращает
array
Исключения
ArgumentException

Bitrix\Main\SystemException

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

◆ getUserLinks()

getUserLinks ( $userId)

gets user public links by user id

Аргументы
$userId
Возвращает
array
Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\SystemException

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

Поля

◆ $crmDealLinkMapper

CrmDealLinkMapper $crmDealLinkMapper = null
staticprotected

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

◆ $eventLinkMapper

EventLinkMapper $eventLinkMapper = null
staticprotected

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

◆ $groupLinkMapper

GroupLinkMapper $groupLinkMapper = null
staticprotected

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

◆ $instance

Factory $instance = null
staticprotected

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

◆ $userLinkMapper

UserLinkMapper $userLinkMapper = null
staticprotected

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

◆ SELECT

const SELECT = ['*', 'MEMBERS', 'MEMBERS.USER', 'MEMBERS.IMAGE']
protected

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


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