method
public
static
Livefeed::deleteByOwner()
Сигнатура
public static deleteByOwner(mixed $entityTypeId, mixed $entityId) : mixed
Параметры
$entityTypeId
mixed
$entityId
mixed
Возвращаемое значение
mixed
Как применяется в Livefeed
Livefeed::deleteByOwner() — метод класса \Bitrix\Crm\Activity\Provider\Livefeed модуля «CRM».
Статический метод — вызывается через имя класса Livefeed, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Crm\Activity\Provider\Livefeed;
Loader::includeModule('crm');
$entityTypeId = null;
$entityId = null;
$result = Livefeed::deleteByOwner($entityTypeId, $entityId);
// $result: mixedДругие методы Livefeed
addActivity()addComment()canAddCalendarEvents()canCompleteOnView()canKeepCompletedInCalendar()canKeepReassignedInCalendar()canUseCalendarEvents()canUseCommunicationStatistics()canUseLiveFeedEvents()checkCompletePermission()checkFields()checkForWaitingCompletion()
deleteByOwner() есть и у других классов модуля «CRM»: Base, Call, CallList, CallList, DealSumStatisticsTable, ExternalChannel, InvoiceSumStatisticsTable, LeadSumStatisticsTable.
Исходный файл: source/crm/lib/activity/provider/livefeed.php:573

