Метод suppressesEditorAutofill
Сигнатура метода
public static function suppressesEditorAutofill(?string $providerId, ?string $previousProviderId): bool
Возвращает:
bool
Описание
Whether the editor of the activity is left exactly as the caller gave it, the absent value included (crm_activity.php:2101-2113, checklist item B7). The data of a letter is completed on the hits of different users, so an email may not have the editor of whoever happened to write next. The answer is yes when either state of the operation is an email - the state being written or the state stored before it - which is why the previous provider is a parameter of its own instead of being derived from the activity: on an add there is no previous state at all, and on an update the caller is not required to name the provider again.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$providerId
|
?string
|
—
|
—
|
$previousProviderId
|
?string
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/lib/V2/Internal/Service/Activity/Pipeline/Step/Shared/EmailBranch.php