Bitrix API

IVolumeClearEvent extends IVolumeClear

Table of Contents

Methods

canClearEntity()  : bool
Returns availability to drop entity.
canClearEvent()  : bool
Returns availability to drop entity activities.
clearEntity()  : int
Performs dropping entity.
clearEvent()  : int
Performs dropping associated entity activities.
countEntity()  : int
Returns count of entities.
countEvent()  : int
Returns count of activities.
getDroppedEntityCount()  : int
Returns dropped count of entities.
getDroppedEventCount()  : int
Returns dropped count of associated entity activities.
getErrors()  : array<string|int, Error>
Getting array of errors.
getFailCount()  : int
Returns error count.
getLastError()  : Error|null
Returns errors list.
getProcessOffset()  : int
Returns process offset.
hasErrors()  : bool
Has errors.
hasTimeLimitReached()  : bool
Tells true if time limit reached.
incrementDroppedEntityCount()  : void
Returns dropped count of entities.
incrementDroppedEventCount()  : void
Returns dropped count of associated entity activities.
incrementFailCount()  : void
Returns error count.
measureEvent()  : self
Runs measure test for activities.
setDroppedEntityCount()  : void
Sets dropped count of entities.
setDroppedEventCount()  : void
Sets dropped count of associated entity activities.
setFailCount()  : void
Sets error count.
setProcessOffset()  : void
Setup process offset.
startTimer()  : void
Start up timer.

Methods

canClearEntity()

Returns availability to drop entity.

public canClearEntity() : bool
Return values
bool

canClearEvent()

Returns availability to drop entity activities.

public canClearEvent() : bool
Tags
see
ClearEvent::canClearEvent
Return values
bool

clearEntity()

Performs dropping entity.

public clearEntity() : int
Return values
int

clearEvent()

Performs dropping associated entity activities.

public clearEvent() : int
Return values
int

countEntity()

Returns count of entities.

public countEntity() : int
Return values
int

countEvent()

Returns count of activities.

public countEvent([array<string|int, mixed> $additionEventFilter = array() ]) : int
Parameters
$additionEventFilter : array<string|int, mixed> = array()

Filter for activity list.

Return values
int

getDroppedEntityCount()

Returns dropped count of entities.

public getDroppedEntityCount() : int
Return values
int

getDroppedEventCount()

Returns dropped count of associated entity activities.

public getDroppedEventCount() : int
Tags
see
ClearEvent::getDroppedEventCount
Return values
int

getErrors()

Getting array of errors.

public getErrors() : array<string|int, Error>
Return values
array<string|int, Error>

getFailCount()

Returns error count.

public getFailCount() : int
Tags
@implements

Crm\Volume\IVolumeClear

Return values
int

getLastError()

Returns errors list.

public getLastError() : Error|null
Tags
@implements

Crm\Volume\IVolumeClear

Return values
Error|null

getProcessOffset()

Returns process offset.

public getProcessOffset() : int
Return values
int

hasErrors()

Has errors.

public hasErrors() : bool
Return values
bool

hasTimeLimitReached()

Tells true if time limit reached.

public hasTimeLimitReached() : bool
Return values
bool

incrementDroppedEntityCount()

Returns dropped count of entities.

public incrementDroppedEntityCount(int $count) : void
Parameters
$count : int

Amount to increment.

incrementDroppedEventCount()

Returns dropped count of associated entity activities.

public incrementDroppedEventCount(int $count) : void
Parameters
$count : int

Amount to increment.

Tags
see
ClearEvent::incrementDroppedEventCount

incrementFailCount()

Returns error count.

public incrementFailCount([int $count = 1 ]) : void
Parameters
$count : int = 1

Amount to increment.

Tags
@implements

Crm\Volume\IVolumeClearEvent

measureEvent()

Runs measure test for activities.

public measureEvent([array<string|int, mixed> $additionEventFilter = array() ]) : self
Parameters
$additionEventFilter : array<string|int, mixed> = array()

Filter for activity list.

Return values
self

setDroppedEntityCount()

Sets dropped count of entities.

public setDroppedEntityCount(int $count) : void
Parameters
$count : int

Amount to set.

setDroppedEventCount()

Sets dropped count of associated entity activities.

public setDroppedEventCount(int $count) : void
Parameters
$count : int

Amount to set.

Tags
see
ClearEvent::setDroppedEventCount

setFailCount()

Sets error count.

public setFailCount(int $count) : void
Parameters
$count : int

Amount to set.

Tags
@implements

Crm\Volume\IVolumeClear

setProcessOffset()

Setup process offset.

public setProcessOffset(int $offset) : void
Parameters
$offset : int

Offset position.

startTimer()

Start up timer.

public startTimer([int $timeLimit = 25 ]) : void
Parameters
$timeLimit : int = 25

Time limit.


        
On this page

Search results