|
ILIAS
release_8 Revision v8.24
|
Class ilBuddySystemRelation. More...
Collaboration diagram for ilBuddySystemRelation:Public Member Functions | |
| __construct (ilBuddySystemRelationState $state, int $usrId, int $buddyUsrId, bool $isOwnedByActor, 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 |
| int | $usrId |
| int | $buddyUsrId |
| bool | $isOwnedByActor |
| int | $timestamp |
| 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, |
| int | $usrId, | ||
| int | $buddyUsrId, | ||
| bool | $isOwnedByActor, | ||
| int | $timestamp | ||
| ) |
Definition at line 34 of file class.ilBuddySystemRelation.php.
References $buddyUsrId, $isOwnedByActor, $timestamp, $usrId, isOwnedByActor(), and setState().
Here is the call graph for this function:| ilBuddySystemRelation::getBuddyUsrId | ( | ) |
Definition at line 86 of file class.ilBuddySystemRelation.php.
References $buddyUsrId.
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 125 of file class.ilBuddySystemRelation.php.
References ilBuddySystemRelationStateFilterRuleFactory\getInstance().
Here is the call graph for this function:| ilBuddySystemRelation::getPriorState | ( | ) |
Definition at line 68 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 63 of file class.ilBuddySystemRelation.php.
References $state.
Referenced by ignore(), isIgnored(), isLinked(), isRequested(), isUnlinked(), link(), ilBuddySystemRelationsTableGUI\populate(), request(), setState(), and unlink().
Here is the caller graph for this function:| ilBuddySystemRelation::getTimestamp | ( | ) |
Definition at line 112 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 99 of file class.ilBuddySystemRelation.php.
References $usrId.
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 176 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 201 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 186 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 73 of file class.ilBuddySystemRelation.php.
References $isOwnedByActor.
Referenced by __construct(), ilBuddySystemIgnoredRequestRelationStateTableFilterMapper\filterMatchesRelation(), and ilBuddySystemRequestedRelationStateTableFilterMapper\filterMatchesRelation().
Here is the caller graph for this function:| ilBuddySystemRelation::isRequested | ( | ) |
Definition at line 196 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 191 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 134 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 162 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 48 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 53 of file class.ilBuddySystemRelation.php.
References $state, getState(), and setPriorState().
Referenced by __construct(), ilBuddySystemRequestedRelationState\ignore(), ilBuddySystemIgnoredRequestRelationState\link(), ilBuddySystemRequestedRelationState\link(), ilBuddySystemUnlinkedRelationState\request(), ilBuddySystemIgnoredRequestRelationState\unlink(), ilBuddySystemLinkedRelationState\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 148 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 221 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 206 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 216 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 211 of file class.ilBuddySystemRelation.php.
References getPriorState().
Here is the call graph for this function:| ilBuddySystemRelation::withBuddyUsrId | ( | int | $buddyUsrId | ) |
Definition at line 91 of file class.ilBuddySystemRelation.php.
References $buddyUsrId.
| ilBuddySystemRelation::withIsOwnedByActor | ( | bool | $isOwnedByActor | ) |
Definition at line 78 of file class.ilBuddySystemRelation.php.
References $isOwnedByActor.
| ilBuddySystemRelation::withTimestamp | ( | int | $timestamp | ) |
Definition at line 117 of file class.ilBuddySystemRelation.php.
References $timestamp.
| ilBuddySystemRelation::withUsrId | ( | int | $usrId | ) |
Definition at line 104 of file class.ilBuddySystemRelation.php.
References $usrId.
|
protected |
Definition at line 29 of file class.ilBuddySystemRelation.php.
Referenced by __construct(), getBuddyUsrId(), and withBuddyUsrId().
|
protected |
Definition at line 30 of file class.ilBuddySystemRelation.php.
Referenced by __construct(), isOwnedByActor(), and withIsOwnedByActor().
|
protected |
Definition at line 32 of file class.ilBuddySystemRelation.php.
Referenced by getPriorState().
|
protected |
Definition at line 27 of file class.ilBuddySystemRelation.php.
Referenced by getState(), and setState().
|
protected |
Definition at line 31 of file class.ilBuddySystemRelation.php.
Referenced by __construct(), getTimestamp(), and withTimestamp().
|
protected |
Definition at line 28 of file class.ilBuddySystemRelation.php.
Referenced by __construct(), getUsrId(), and withUsrId().