19 declare(strict_types=1);
33 protected int $buddyUsrId,
34 protected bool $isOwnedByActor,
42 $this->priorState = $prior_state;
47 if ($rememberPriorState) {
67 return $this->isOwnedByActor;
73 $clone->isOwnedByActor = $isOwnedByActor;
80 return $this->buddyUsrId;
86 $clone->buddyUsrId = $buddyUsrId;
99 $clone->usrId = $usrId;
111 $clone = clone $this;
setState(ilBuddySystemRelationState $state, bool $rememberPriorState=true)
Class ilBuddySystemIgnoredRequestRelationState.
ilBuddySystemRelationState $state
Interface ilBuddySystemCollection.
Class ilBuddySystemUnlinkedRelationState.
Class ilBuddySystemRelationStateException.
withTimestamp(int $timestamp)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Class ilBuddySystemLinkedState.
__construct(ilBuddySystemRelationState $state, protected int $usrId, protected int $buddyUsrId, protected bool $isOwnedByActor, protected int $timestamp)
setPriorState(ilBuddySystemRelationState $prior_state)
withBuddyUsrId(int $buddyUsrId)
Class ilBuddySystemRequestedRelationState.
ilBuddySystemRelationState $priorState
getCurrentPossibleTargetStates()
foreach($mandatory_scripts as $file) $timestamp
withIsOwnedByActor(bool $isOwnedByActor)
Interface ilBuddySystemRelationState.