|
| | 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) |
|
| const | SELECT = ['*', 'MEMBERS', 'MEMBERS.USER', 'MEMBERS.IMAGE'] |
См. определение в файле factory.php строка 11
◆ createCrmDealJointLink()
◆ 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
- Исключения
-
См. определение в файле 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
- Исключения
-
См. определение в файле factory.php строка 201
◆ createGroupJointLink()
| createGroupJointLink |
( |
int | $groupId, |
|
|
array | $memberIds ) |
◆ createGroupLink()
| createGroupLink |
( |
int | $groupId, |
|
|
int | $userId ) |
◆ createUserJointLink()
| createUserJointLink |
( |
int | $userId, |
|
|
array | $memberIds ) |
◆ createUserLink()
| createUserLink |
( |
int | $userId | ) |
|
creates user public link for calendar sharing by user id
- Аргументы
-
- Возвращает
- $this
- Исключения
-
Bitrix\Main\ArgumentException
См. определение в файле factory.php строка 174
◆ generateMembersHash()
| generateMembersHash |
( |
int | $userId, |
|
|
array | $memberIds, |
|
|
string | $prefix = '' ) |
◆ getAllUserLinks()
| getAllUserLinks |
( |
int | $userId | ) |
|
- Аргументы
-
- Возвращает
- array
- Исключения
-
Bitrix\Main\SystemException
См. определение в файле factory.php строка 111
◆ getCrmDealJointLink()
| getCrmDealJointLink |
( |
int | $entityId, |
|
|
int | $ownerId, |
|
|
?int | $contactId = null, |
|
|
?int | $contactType = null ) |
◆ 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
- Исключения
-
Bitrix\Main\ObjectPropertyException
- Исключения
-
Bitrix\Main\SystemException
См. определение в файле factory.php строка 505
◆ getDeletedEventLinkByEventId()
| getDeletedEventLinkByEventId |
( |
int | $eventId | ) |
|
gets calendar sharing event public link by enetId
- Аргументы
-
- Возвращает
- \Bitrix\Calendar\Core\Base\EntityInterface|null
- Исключения
-
Bitrix\Main\ObjectPropertyException
- Исключения
-
Bitrix\Main\SystemException
См. определение в файле factory.php строка 477
◆ getEventLinkByEventId()
| getEventLinkByEventId |
( |
int | $eventId, |
|
|
bool | $searchActiveOnly = true ) |
gets calendar sharing event public link by eventId
- Аргументы
-
- Возвращает
- \Bitrix\Calendar\Core\Base\EntityInterface|null
- Исключения
-
Bitrix\Main\ObjectPropertyException
- Исключения
-
Bitrix\Main\SystemException
См. определение в файле factory.php строка 445
◆ getGroupJointLinkByMembersHash()
| getGroupJointLinkByMembersHash |
( |
int | $groupId, |
|
|
string | $membersHash ) |
◆ getGroupLinks()
| getGroupLinks |
( |
int | $groupId, |
|
|
int | $userId ) |
◆ getInstance()
◆ getJointLinkByMembersHash()
| getJointLinkByMembersHash |
( |
string | $membersHash | ) |
|
◆ getLastSentCrmDealLink()
| getLastSentCrmDealLink |
( |
int | $ownerId | ) |
|
◆ getLinkArrayByHash()
| getLinkArrayByHash |
( |
string | $hash | ) |
|
returns public link data in array by 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
- Аргументы
-
- Возвращает
- \Bitrix\Calendar\Core\Base\EntityInterface|null
- Исключения
-
Bitrix\Main\ArgumentException
- Исключения
-
Bitrix\Main\ObjectPropertyException
- Исключения
-
Bitrix\Main\SystemException
См. определение в файле factory.php строка 80
◆ getParentLinkByConferenceId()
| getParentLinkByConferenceId |
( |
string | $conferenceId | ) |
|
◆ getUserJointLinks()
| getUserJointLinks |
( |
| $userId | ) |
|
gets user joint public links by user id
- Аргументы
-
- Возвращает
- array
- Исключения
-
Bitrix\Main\SystemException
См. определение в файле factory.php строка 146
◆ getUserLinks()
gets user public links by user id
- Аргументы
-
- Возвращает
- array
- Исключения
-
Bitrix\Main\ArgumentException
- Исключения
-
Bitrix\Main\SystemException
См. определение в файле factory.php строка 128
◆ $crmDealLinkMapper
◆ $eventLinkMapper
◆ $groupLinkMapper
◆ $instance
◆ $userLinkMapper
◆ SELECT
| const SELECT = ['*', 'MEMBERS', 'MEMBERS.USER', 'MEMBERS.IMAGE'] |
|
protected |
Объявления и описания членов класса находятся в файле:
- C:/bitrix/modules/calendar/lib/sharing/link/factory.php