UncompletedActivityChange
Table of Contents
Methods
-
__construct()
: mixed
-
create()
: self
-
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
-
hasChanges()
: bool
-
isBindingsChanges()
: bool
-
isChangedAlreadyCompletedActivity()
: bool
-
isCompletedChanged()
: bool
-
isDeadlineChanged()
: bool
-
isIncomingChannelChanged()
: bool
-
isLightTimeChanges()
: bool
-
isResponsibleIdChanged()
: bool
-
prepareBindings()
: array<string|int, ItemIdentifier>
-
wasActivityJustAdded()
: bool
-
wasActivityJustCompleted()
: bool
-
wasActivityJustDeleted()
: bool
-
wasActivityJustUnCompleted()
: bool
__construct()
public
__construct(int $id, bool|null $oldIsIncomingChannel, bool|null $newIsIncomingChannel, DateTime|null $oldDeadline, DateTime|null $newDeadline, int|null $oldResponsibleId, int|null $newResponsibleId, bool|null $oldIsCompleted, bool|null $newIsCompleted, 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
-
-
$oldResponsibleId
: int|null
-
-
$newResponsibleId
: int|null
-
-
$oldIsCompleted
: bool|null
-
-
$newIsCompleted
: bool|null
-
-
$oldBindings
: array<string|int, mixed>
-
-
$newBindings
: array<string|int, mixed>
-
-
$oldLightTime
: DateTime|null
-
-
$newLightTime
: DateTime|null
-
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
-
getId()
public
getId() : int
getNewBindings()
public
getNewBindings() : array<string|int, ItemIdentifier>
Return values
array<string|int, ItemIdentifier>
getNewDeadline()
public
getNewDeadline() : DateTime|null
getNewIsCompleted()
public
getNewIsCompleted() : bool|null
getNewIsIncomingChannel()
public
getNewIsIncomingChannel() : bool|null
getNewLightTime()
public
getNewLightTime() : DateTime|null
getNewResponsibleId()
public
getNewResponsibleId() : int|null
getOldBindings()
public
getOldBindings() : array<string|int, ItemIdentifier>
Return values
array<string|int, ItemIdentifier>
getOldDeadline()
public
getOldDeadline() : DateTime|null
getOldIsCompleted()
public
getOldIsCompleted() : bool|null
getOldIsIncomingChannel()
public
getOldIsIncomingChannel() : bool|null
getOldLightTime()
public
getOldLightTime() : DateTime|null
getOldResponsibleId()
public
getOldResponsibleId() : int|null
hasChanges()
public
hasChanges() : bool
isBindingsChanges()
public
isBindingsChanges() : bool
isChangedAlreadyCompletedActivity()
public
isChangedAlreadyCompletedActivity() : bool
isCompletedChanged()
public
isCompletedChanged() : bool
isDeadlineChanged()
public
isDeadlineChanged() : bool
isIncomingChannelChanged()
public
isIncomingChannelChanged() : bool
isLightTimeChanges()
public
isLightTimeChanges() : bool
isResponsibleIdChanged()
public
isResponsibleIdChanged() : 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>
wasActivityJustAdded()
public
wasActivityJustAdded() : bool
wasActivityJustCompleted()
public
wasActivityJustCompleted() : bool
wasActivityJustDeleted()
public
wasActivityJustDeleted() : bool
wasActivityJustUnCompleted()
public
wasActivityJustUnCompleted() : bool