Метод __construct
Сигнатура метода
public function __construct(EntityType $entityType, bool $hasCategories = false, bool $isCategoriesSupported = false, bool $hasStages = false, bool $isStagesSupported = false, bool $hasBeginCloseDates = false, bool $hasSource = false, bool $hasProducts = false, bool $hasObservers = false, bool $hasContactBindings = false, bool $hasCompanyBindings = false, bool $hasCompany = false, bool $hasMyCompany = false, bool $hasClientFields = false, bool $hasClientContact = false, bool $hasClientCompany = false, bool $hasMultifields = false, bool $hasCrmTracking = false, bool $hasDocumentGeneration = false, bool $isDocumentGenerationSupported = false, bool $hasRecurring = false, bool $isRecurringSupported = false, bool $hasUseInUserfield = false, bool $hasRecyclebin = false, bool $hasAutomation = false, bool $hasBizProc = false, bool $isBizProcSupported = false, bool $hasPayments = false, bool $hasCounters = false, bool $hasLastActivity = false, bool $isLastActivitySupported = false, ?array $parentEntityTypesMap = null)
Параметры
32| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$entityType
|
EntityType
|
—
|
—
|
$hasCategories
|
bool
|
false
|
—
|
$isCategoriesSupported
|
bool
|
false
|
—
|
$hasStages
|
bool
|
false
|
—
|
$isStagesSupported
|
bool
|
false
|
—
|
$hasBeginCloseDates
|
bool
|
false
|
—
|
$hasSource
|
bool
|
false
|
—
|
$hasProducts
|
bool
|
false
|
—
|
$hasObservers
|
bool
|
false
|
—
|
$hasContactBindings
|
bool
|
false
|
—
|
$hasCompanyBindings
|
bool
|
false
|
—
|
$hasCompany
|
bool
|
false
|
—
|
$hasMyCompany
|
bool
|
false
|
—
|
$hasClientFields
|
bool
|
false
|
—
|
$hasClientContact
|
bool
|
false
|
—
|
$hasClientCompany
|
bool
|
false
|
—
|
$hasMultifields
|
bool
|
false
|
—
|
$hasCrmTracking
|
bool
|
false
|
—
|
$hasDocumentGeneration
|
bool
|
false
|
—
|
$isDocumentGenerationSupported
|
bool
|
false
|
—
|
$hasRecurring
|
bool
|
false
|
—
|
$isRecurringSupported
|
bool
|
false
|
—
|
$hasUseInUserfield
|
bool
|
false
|
—
|
$hasRecyclebin
|
bool
|
false
|
—
|
$hasAutomation
|
bool
|
false
|
—
|
$hasBizProc
|
bool
|
false
|
—
|
$isBizProcSupported
|
bool
|
false
|
—
|
$hasPayments
|
bool
|
false
|
—
|
$hasCounters
|
bool
|
false
|
—
|
$hasLastActivity
|
bool
|
false
|
—
|
$isLastActivitySupported
|
bool
|
false
|
—
|
$parentEntityTypesMap
|
?array
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Public/EntityTypeSettings.php
Расположение метода в файле
Строки
37–72