method
public
BaseTarget::setEntityId()
Сигнатура
public setEntityId(mixed $entityId) : $this
Параметры
$entityId
mixed
Возвращаемое значение
$this
Как применяется в BaseTarget
BaseTarget::setEntityId() — метод класса \Bitrix\Crm\Automation\Target\BaseTarget модуля «CRM».
Метод объекта: сначала нужен экземпляр BaseTarget.
use Bitrix\Main\Loader;
use Bitrix\Crm\Automation\Target\BaseTarget;
Loader::includeModule('crm');
/** @var BaseTarget $object */
$entityId = null;
$result = $object->setEntityId($entityId);
// $result: $thisДругие методы BaseTarget
Исходный файл: source/crm/lib/automation/target/basetarget.php:25

