ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilBuddySystemRequestedRelationState Class Reference

Class ilBuddySystemRequestedRelationState. More...

+ Inheritance diagram for ilBuddySystemRequestedRelationState:
+ Collaboration diagram for ilBuddySystemRequestedRelationState:

Public Member Functions

 getName ()
 
Returns
string
More...
 
 getAction ()
 
Returns
string
More...
 
 getPossibleTargetStates ()
 
 unlink (ilBuddySystemRelation $relation)
 
 ignore (ilBuddySystemRelation $relation)
 
 link (ilBuddySystemRelation $relation)
 
- Public Member Functions inherited from ilAbstractBuddySystemRelationState
 isInitial ()
 
Returns
boolean
More...
 
 request (ilBuddySystemRelation $relation)
 
 ignore (ilBuddySystemRelation $relation)
 
 link (ilBuddySystemRelation $relation)
 
 unlink (ilBuddySystemRelation $relation)
 

Detailed Description

Member Function Documentation

◆ getAction()

ilBuddySystemRequestedRelationState::getAction ( )

Returns
string

Implements ilBuddySystemRelationState.

Definition at line 23 of file class.ilBuddySystemRequestedRelationState.php.

24  {
25  return 'request';
26  }

◆ getName()

ilBuddySystemRequestedRelationState::getName ( )

Returns
string

Implements ilBuddySystemRelationState.

Definition at line 15 of file class.ilBuddySystemRequestedRelationState.php.

16  {
17  return 'Requested';
18  }

◆ getPossibleTargetStates()

ilBuddySystemRequestedRelationState::getPossibleTargetStates ( )
Returns
ilBuddySystemCollection|ilBuddySystemRelationState[]

Implements ilBuddySystemRelationState.

Definition at line 31 of file class.ilBuddySystemRequestedRelationState.php.

32  {
33  require_once 'Services/Contact/BuddySystem/classes/states/class.ilBuddySystemRelationStateCollection.php';
34  return new ilBuddySystemRelationStateCollection(array(
38  ));
39  }
Class ilBuddySystemUnlinkedRelationState.
Class ilBuddySystemRelationStateCollection A collection which contains all entries of a buddy list...

◆ ignore()

ilBuddySystemRequestedRelationState::ignore ( ilBuddySystemRelation  $relation)
Parameters
ilBuddySystemRelation

Implements ilBuddySystemRelationState.

Definition at line 52 of file class.ilBuddySystemRequestedRelationState.php.

References ilBuddySystemRelation\setState().

53  {
55  }
setState(ilBuddySystemRelationState $state, $remember_prior_state=true)
+ Here is the call graph for this function:

◆ link()

ilBuddySystemRequestedRelationState::link ( ilBuddySystemRelation  $relation)
Parameters
ilBuddySystemRelation

Implements ilBuddySystemRelationState.

Definition at line 60 of file class.ilBuddySystemRequestedRelationState.php.

References ilBuddySystemRelation\setState().

61  {
63  }
setState(ilBuddySystemRelationState $state, $remember_prior_state=true)
+ Here is the call graph for this function:

◆ unlink()

ilBuddySystemRequestedRelationState::unlink ( ilBuddySystemRelation  $relation)
Parameters
ilBuddySystemRelation

Implements ilBuddySystemRelationState.

Definition at line 44 of file class.ilBuddySystemRequestedRelationState.php.

References ilBuddySystemRelation\setState().

45  {
47  }
setState(ilBuddySystemRelationState $state, $remember_prior_state=true)
Class ilBuddySystemUnlinkedRelationState.
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: