|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 | ( | ) |
| 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 ignore(), 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.
| ilBuddySystemRelation::getUsrId | ( | ) |
Definition at line 91 of file class.ilBuddySystemRelation.php.
Referenced by ignore(), ilBuddyList\ignore(), link(), ilBuddyList\link(), 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().
Here is the call graph for this function:| ilBuddySystemRelation::isIgnored | ( | ) |
Definition at line 189 of file class.ilBuddySystemRelation.php.
References getState().
Here is the call graph for this function:| ilBuddySystemRelation::isLinked | ( | ) |
Definition at line 174 of file class.ilBuddySystemRelation.php.
References getState().
Here is the call graph for this function:| ilBuddySystemRelation::isOwnedByActor | ( | ) |
Definition at line 65 of file class.ilBuddySystemRelation.php.
| ilBuddySystemRelation::isRequested | ( | ) |
Definition at line 184 of file class.ilBuddySystemRelation.php.
References getState().
Here is the call graph for this function:| ilBuddySystemRelation::isUnlinked | ( | ) |
Definition at line 179 of file class.ilBuddySystemRelation.php.
References getState().
Here is the call graph for this function:| ilBuddySystemRelation::link | ( | ) |
| ilBuddySystemRelationStateException |
Definition at line 125 of file class.ilBuddySystemRelation.php.
References getBuddyUsrId(), getState(), and getUsrId().
Here is the call graph for this function:| ilBuddySystemRelation::request | ( | ) |
| ilBuddySystemRelationStateException |
Definition at line 151 of file class.ilBuddySystemRelation.php.
References getBuddyUsrId(), getState(), and getUsrId().
Here is the call 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().
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().
Here is the call graph for this function:| ilBuddySystemRelation::wasIgnored | ( | ) |
Definition at line 209 of file class.ilBuddySystemRelation.php.
References getPriorState().
Here is the call graph for this function:| ilBuddySystemRelation::wasLinked | ( | ) |
Definition at line 194 of file class.ilBuddySystemRelation.php.
References getPriorState().
Here is the call graph for this function:| ilBuddySystemRelation::wasRequested | ( | ) |
Definition at line 204 of file class.ilBuddySystemRelation.php.
References getPriorState().
Here is the call 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 | ) |
Definition at line 109 of file class.ilBuddySystemRelation.php.
References $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().