Bitrix API

ActivityChange

Table of Contents

Methods

__construct()  : mixed
applyNewChange()  : void
areBindingsChanged()  : bool
create()  : self
getAffectedBindings()  : array<string|int, mixed>
getAffectedCounterTypes()  : array<string|int, mixed>
getId()  : int
getNewBindings()  : array<string|int, ItemIdentifier>
getNewDeadline()  : DateTime|null
getNewIsCompleted()  : bool|null
getNewIsIncomingChannel()  : bool|null
getNewLightTime()  : DateTime|null
getNewResponsibleId()  : int|null
getOldBindings()  : array<string|int, ItemIdentifier>
getOldDeadline()  : DateTime|null
getOldIsCompleted()  : bool|null
getOldIsIncomingChannel()  : bool|null
getOldLightTime()  : DateTime|null
getOldResponsibleId()  : int|null
hasSignificantChangesForCountable()  : bool
isCompletedChanged()  : bool
isDeadlineChanged()  : bool
isIncomingChannelChanged()  : bool
isLightTimeChanges()  : bool
isResponsibleIdChanged()  : bool
prepareBindings()  : array<string|int, ItemIdentifier>
wasActivityDeleted()  : bool

Methods

__construct()

public __construct(int $id, bool|null $oldIsIncomingChannel, bool|null $newIsIncomingChannel, DateTime|null $oldDeadline, DateTime|null $newDeadline, bool|null $oldIsCompleted, bool|null $newIsCompleted, int|null $oldResponsibleId, int|null $newResponsibleId, array<string|int, mixed> $oldBindings, array<string|int, mixed> $newBindings, DateTime|null $oldLightTime, DateTime|null $newLightTime) : mixed
Parameters
$id : int
$oldIsIncomingChannel : bool|null
$newIsIncomingChannel : bool|null
$oldDeadline : DateTime|null
$newDeadline : DateTime|null
$oldIsCompleted : bool|null
$newIsCompleted : bool|null
$oldResponsibleId : int|null
$newResponsibleId : int|null
$oldBindings : array<string|int, mixed>
$newBindings : array<string|int, mixed>
$oldLightTime : DateTime|null
$newLightTime : DateTime|null

applyNewChange()

public applyNewChange(self $activityChange) : void
Parameters
$activityChange : self

areBindingsChanged()

public areBindingsChanged() : bool
Return values
bool

create()

public static create(int $id, array<string|int, mixed> $oldFields, array<string|int, mixed> $oldBindings, array<string|int, mixed> $newFields, array<string|int, mixed> $newBindings, DateTime|null $oldLightTime, DateTime|null $newLightTime) : self
Parameters
$id : int
$oldFields : array<string|int, mixed>
$oldBindings : array<string|int, mixed>
$newFields : array<string|int, mixed>
$newBindings : array<string|int, mixed>
$oldLightTime : DateTime|null
$newLightTime : DateTime|null
Return values
self

getAffectedBindings()

public getAffectedBindings() : array<string|int, mixed>
Return values
array<string|int, mixed>

getAffectedCounterTypes()

public getAffectedCounterTypes([bool $withResponsible = false ]) : array<string|int, mixed>
Parameters
$withResponsible : bool = false
Return values
array<string|int, mixed>

getNewBindings()

public getNewBindings() : array<string|int, ItemIdentifier>
Return values
array<string|int, ItemIdentifier>

getNewIsCompleted()

public getNewIsCompleted() : bool|null
Return values
bool|null

getNewIsIncomingChannel()

public getNewIsIncomingChannel() : bool|null
Return values
bool|null

getNewResponsibleId()

public getNewResponsibleId() : int|null
Return values
int|null

getOldBindings()

public getOldBindings() : array<string|int, ItemIdentifier>
Return values
array<string|int, ItemIdentifier>

getOldIsCompleted()

public getOldIsCompleted() : bool|null
Return values
bool|null

getOldIsIncomingChannel()

public getOldIsIncomingChannel() : bool|null
Return values
bool|null

getOldResponsibleId()

public getOldResponsibleId() : int|null
Return values
int|null

hasSignificantChangesForCountable()

public hasSignificantChangesForCountable() : bool
Return values
bool

isCompletedChanged()

public isCompletedChanged() : bool
Return values
bool

isDeadlineChanged()

public isDeadlineChanged() : bool
Return values
bool

isIncomingChannelChanged()

public isIncomingChannelChanged() : bool
Return values
bool

isLightTimeChanges()

public isLightTimeChanges() : bool
Return values
bool

isResponsibleIdChanged()

public isResponsibleIdChanged() : bool
Return values
bool

prepareBindings()

public static prepareBindings(array<string|int, mixed> $bindings) : array<string|int, ItemIdentifier>
Parameters
$bindings : array<string|int, mixed>
Return values
array<string|int, ItemIdentifier>

wasActivityDeleted()

public wasActivityDeleted() : bool
Return values
bool

        
On this page

Search results