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

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

 getLinkArrayByHash (string $hash)
 
 getLinkByHash (string $hash)
 
 getAllUserLinks (int $userId)
 
 getUserLinks ($userId)
 
 getUserJointLinks ($userId)
 
 createUserLink (int $userId)
 
 createEventLink (array $params)
 
 createCrmDealLink (int $ownerId, int $entityId, ?int $contactId=null, ?int $contactType=null, ?string $channelId=null, ?string $senderId=null)
 
 createUserJointLink (int $userId, array $memberIds)
 
 createCrmDealJointLink (CrmDealLink $crmDealLink, array $memberIds)
 
 generateMembersHash (int $userId, array $memberIds)
 
 getEventLinkByEventId (int $eventId)
 
 getDeletedEventLinkByEventId (int $eventId)
 
 getCrmDealLink (int $entityId, int $ownerId, ?int $contactId=null, ?int $contactType=null)
 
 getJointLinkByMembersHash (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
 

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

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

Методы

◆ createCrmDealJointLink()

createCrmDealJointLink ( CrmDealLink $crmDealLink,
array $memberIds )

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

◆ createCrmDealLink()

createCrmDealLink ( int $ownerId,
int $entityId,
?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 строка 215

◆ 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 строка 186

◆ createUserJointLink()

createUserJointLink ( int $userId,
array $memberIds )

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

◆ createUserLink()

createUserLink ( int $userId)

creates user public link for calendar sharing by user id

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

Bitrix\Main\ArgumentException

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

◆ generateMembersHash()

generateMembersHash ( int $userId,
array $memberIds )

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

◆ getAllUserLinks()

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

Bitrix\Main\SystemException

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

◆ getCrmDealJointLink()

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

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

◆ getCrmDealLink()

getCrmDealLink ( int $entityId,
int $ownerId,
?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 строка 393

◆ 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 строка 365

◆ getEventLinkByEventId()

getEventLinkByEventId ( int $eventId)

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 строка 338

◆ getInstance()

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

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

◆ getJointLinkByMembersHash()

getJointLinkByMembersHash ( string $membersHash)

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

◆ 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 строка 39

◆ 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 строка 70

◆ getParentLinkByConferenceId()

getParentLinkByConferenceId ( string $conferenceId)

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

◆ getUserJointLinks()

getUserJointLinks ( $userId)

gets user joint public links by user id

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

Bitrix\Main\SystemException

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

◆ getUserLinks()

getUserLinks ( $userId)

gets user public links by user id

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

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\SystemException

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

Данные класса

◆ $instance

Factory $instance = null
staticprotected

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

◆ SELECT

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

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