|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Class ilBuddySystemRelation. More...
Collaboration diagram for ilBuddySystemRelation:Public Member Functions | |
| __construct (ilBuddySystemRelationState $state, protected int $usrId, protected int $buddyUsrId, protected bool $isOwnedByActor, protected int $timestamp) | |
| setState (ilBuddySystemRelationState $state, bool $rememberPriorState=true) | |
| getState () | |
| getPriorState () | |
| isOwnedByActor () | |
| withIsOwnedByActor (bool $isOwnedByActor) | |
| getBuddyUsrId () | |
| withBuddyUsrId (int $buddyUsrId) | |
| getUsrId () | |
| withUsrId (int $usrId) | |
| getTimestamp () | |
| withTimestamp (int $timestamp) | |
| getCurrentPossibleTargetStates () | |
| link () | |
| unlink () | |
| request () | |
| ignore () | |
| isLinked () | |
| isUnlinked () | |
| isRequested () | |
| isIgnored () | |
| wasLinked () | |
| wasUnlinked () | |
| wasRequested () | |
| wasIgnored () | |
Protected Attributes | |
| ilBuddySystemRelationState | $state |
| ilBuddySystemRelationState | $priorState = null |
Private Member Functions | |
| setPriorState (ilBuddySystemRelationState $prior_state) | |
Class ilBuddySystemRelation.
Definition at line 25 of file class.ilBuddySystemRelation.php.
| ilBuddySystemRelation::__construct | ( | ilBuddySystemRelationState | $state, |
| protected int | $usrId, | ||
| protected int | $buddyUsrId, | ||
| protected bool | $isOwnedByActor, | ||
| protected int | $timestamp | ||
| ) |
Definition at line 30 of file class.ilBuddySystemRelation.php.
References setState().
Here is the call graph for this function:| ilBuddySystemRelation::getBuddyUsrId | ( | ) |
Definition at line 78 of file class.ilBuddySystemRelation.php.
Referenced by ilBuddySystemRelationRepository\addToApprovedBuddies(), ilBuddySystemRelationRepository\addToRequestedBuddies(), ilBuddyList\getIgnoredRelationsForOwner(), ilBuddyList\getRelationTargetUserId(), ilBuddyList\getRequestRelationsForOwner(), ignore(), link(), ilBuddySystemRelationRepository\removeFromApprovedBuddies(), ilBuddySystemRelationRepository\removeFromRequestedBuddies(), request(), ilBuddySystemGUI\requestCommand(), ilMailingListsGUI\showMembersList(), and unlink().
Here is the caller graph for this function:| ilBuddySystemRelation::getCurrentPossibleTargetStates | ( | ) |
Definition at line 117 of file class.ilBuddySystemRelation.php.
References ilBuddySystemRelationStateFilterRuleFactory\getInstance().
Here is the call graph for this function:| ilBuddySystemRelation::getPriorState | ( | ) |
Definition at line 60 of file class.ilBuddySystemRelation.php.
References $priorState.
Referenced by wasIgnored(), wasLinked(), wasRequested(), and wasUnlinked().
Here is the caller graph for this function:| ilBuddySystemRelation::getState | ( | ) |
Definition at line 55 of file class.ilBuddySystemRelation.php.
References $state.
Referenced by ilBuddySystemRelationStateFactory\getStateButtonRendererByOwnerAndRelation(), ignore(), ilBuddySystemRelationsTableGUI\initFilter(), isIgnored(), isLinked(), isRequested(), isUnlinked(), link(), request(), setState(), and unlink().
Here is the caller graph for this function:| ilBuddySystemRelation::getTimestamp | ( | ) |
Definition at line 104 of file class.ilBuddySystemRelation.php.
References $timestamp.
Referenced by ilBuddySystemRelationRepository\addToApprovedBuddies(), ilBuddySystemRelationRepository\addToRequestedBuddies(), and ILIAS\Contact\Provider\ContactNotificationProvider\getNotifications().
Here is the caller graph for this function:| ilBuddySystemRelation::getUsrId | ( | ) |
Definition at line 91 of file class.ilBuddySystemRelation.php.
Referenced by ilBuddySystemRelationRepository\addToApprovedBuddies(), ilBuddySystemRelationRepository\addToRequestedBuddies(), ilBuddyList\getIgnoredRelationsByOwner(), ilBuddyList\getRelationTargetUserId(), ilBuddyList\getRequestRelationsByOwner(), ignore(), ilBuddyList\ignore(), link(), ilBuddyList\link(), ilBuddySystemRelationRepository\removeFromApprovedBuddies(), ilBuddySystemRelationRepository\removeFromRequestedBuddies(), request(), and unlink().
Here is the caller graph for this function:| ilBuddySystemRelation::ignore | ( | ) |
| ilBuddySystemRelationStateException |
Definition at line 164 of file class.ilBuddySystemRelation.php.
References getBuddyUsrId(), getState(), and getUsrId().
Referenced by ilBuddyList\ignore().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBuddySystemRelation::isIgnored | ( | ) |
Definition at line 189 of file class.ilBuddySystemRelation.php.
References getState().
Referenced by ilBuddyList\getIgnoredRelations(), ilBuddyList\ignore(), and ilBuddySystemRelationRepository\save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBuddySystemRelation::isLinked | ( | ) |
Definition at line 174 of file class.ilBuddySystemRelation.php.
References getState().
Referenced by ilBuddyList\getLinkedRelations(), ilBuddyList\ignore(), ilBuddyList\link(), and ilBuddySystemRelationRepository\save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBuddySystemRelation::isOwnedByActor | ( | ) |
Definition at line 65 of file class.ilBuddySystemRelation.php.
Referenced by ilBuddySystemIgnoredRequestRelationStateTableFilterMapper\filterMatchesRelation(), and ilBuddySystemRequestedRelationStateTableFilterMapper\filterMatchesRelation().
Here is the caller graph for this function:| ilBuddySystemRelation::isRequested | ( | ) |
Definition at line 184 of file class.ilBuddySystemRelation.php.
References getState().
Referenced by ilBuddyList\getRequestedRelations(), ilBuddyList\request(), and ilBuddySystemRelationRepository\save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBuddySystemRelation::isUnlinked | ( | ) |
Definition at line 179 of file class.ilBuddySystemRelation.php.
References getState().
Referenced by ilBuddySystemGUI\requestCommand(), and ilBuddyList\unlink().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBuddySystemRelation::link | ( | ) |
| ilBuddySystemRelationStateException |
Definition at line 125 of file class.ilBuddySystemRelation.php.
References getBuddyUsrId(), getState(), and getUsrId().
Referenced by ilBuddyList\link().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBuddySystemRelation::request | ( | ) |
| ilBuddySystemRelationStateException |
Definition at line 151 of file class.ilBuddySystemRelation.php.
References getBuddyUsrId(), getState(), and getUsrId().
Referenced by ilBuddyList\request().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 40 of file class.ilBuddySystemRelation.php.
Referenced by setState().
Here is the caller graph for this function:| ilBuddySystemRelation::setState | ( | ilBuddySystemRelationState | $state, |
| bool | $rememberPriorState = true |
||
| ) |
Definition at line 45 of file class.ilBuddySystemRelation.php.
References $state, getState(), and setPriorState().
Referenced by __construct(), ilBuddySystemRequestedRelationState\ignore(), ilBuddySystemIgnoredRequestRelationState\link(), ilBuddySystemRequestedRelationState\link(), ilBuddySystemUnlinkedRelationState\request(), ilBuddySystemLinkedRelationState\unlink(), ilBuddySystemIgnoredRequestRelationState\unlink(), and ilBuddySystemRequestedRelationState\unlink().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBuddySystemRelation::unlink | ( | ) |
| ilBuddySystemRelationStateException |
Definition at line 138 of file class.ilBuddySystemRelation.php.
References getBuddyUsrId(), getState(), and getUsrId().
Referenced by ilBuddyList\unlink().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBuddySystemRelation::wasIgnored | ( | ) |
Definition at line 209 of file class.ilBuddySystemRelation.php.
References getPriorState().
Referenced by ilBuddySystemRelationRepository\save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBuddySystemRelation::wasLinked | ( | ) |
Definition at line 194 of file class.ilBuddySystemRelation.php.
References getPriorState().
Referenced by ilBuddySystemRelationRepository\save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBuddySystemRelation::wasRequested | ( | ) |
Definition at line 204 of file class.ilBuddySystemRelation.php.
References getPriorState().
Referenced by ilBuddySystemRelationRepository\save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBuddySystemRelation::wasUnlinked | ( | ) |
Definition at line 199 of file class.ilBuddySystemRelation.php.
References getPriorState().
Here is the call graph for this function:| ilBuddySystemRelation::withBuddyUsrId | ( | int | $buddyUsrId | ) |
Definition at line 83 of file class.ilBuddySystemRelation.php.
| ilBuddySystemRelation::withIsOwnedByActor | ( | bool | $isOwnedByActor | ) |
Definition at line 70 of file class.ilBuddySystemRelation.php.
| ilBuddySystemRelation::withTimestamp | ( | int | $timestamp | ) |
| ilBuddySystemRelation::withUsrId | ( | int | $usrId | ) |
Definition at line 96 of file class.ilBuddySystemRelation.php.
|
protected |
Definition at line 28 of file class.ilBuddySystemRelation.php.
Referenced by getPriorState().
|
protected |
Definition at line 27 of file class.ilBuddySystemRelation.php.
Referenced by getState(), and setState().