Метод __construct
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
19–48
~/bitrix/modulesim/lib/V2/Chat/Add/ChatCreateFields.php
Исходный код
Сигнатура метода
public function __construct(string $type = Chat::IM_TYPE_CHAT, ?string $entityType = null, ?string $entityId = null, ?string $entityData1 = null, ?string $entityData2 = null, ?string $entityData3 = null, ?string $title = null, ?string $description = null, ?string $searchable = null, ?string $color = null, ?int $authorId = null, ?array $users = null, ?array $managers = null, ?string $manageUsersAdd = null, ?string $manageUsersDelete = null, ?string $manageUi = null, ?string $manageSettings = null, ?int $messagesAutoDeleteDelay = null, ?string $manageMessages = null, ?string $manageMessagesAutoDelete = null, ?string $manageGuestInvites = null, mixed $avatar = null, ?string $conferencePassword = null, ?array $memberEntities = null, ?Chat $parentChat = null, ?array $chatParams = null)
Параметры
26| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$type
|
string
|
Chat::IM_TYPE_CHAT
|
-
|
$entityType
|
?string
|
null
|
-
|
$entityId
|
?string
|
null
|
-
|
$entityData1
|
?string
|
null
|
-
|
$entityData2
|
?string
|
null
|
-
|
$entityData3
|
?string
|
null
|
-
|
$title
|
?string
|
null
|
-
|
$description
|
?string
|
null
|
-
|
$searchable
|
?string
|
null
|
-
|
$color
|
?string
|
null
|
-
|
$authorId
|
?int
|
null
|
-
|
$users
|
?array
|
null
|
-
|
$managers
|
?array
|
null
|
-
|
$manageUsersAdd
|
?string
|
null
|
-
|
$manageUsersDelete
|
?string
|
null
|
-
|
$manageUi
|
?string
|
null
|
-
|
$manageSettings
|
?string
|
null
|
-
|
$messagesAutoDeleteDelay
|
?int
|
null
|
-
|
$manageMessages
|
?string
|
null
|
-
|
$manageMessagesAutoDelete
|
?string
|
null
|
-
|
$manageGuestInvites
|
?string
|
null
|
-
|
$avatar
|
mixed
|
null
|
-
|
$conferencePassword
|
?string
|
null
|
-
|
$memberEntities
|
?array
|
null
|
-
|
$parentChat
|
?Chat
|
null
|
-
|
$chatParams
|
?array
|
null
|
-
|