ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilAbstractBuddySystemRelationState.php
Go to the documentation of this file.
1 <?php declare(strict_types=1);
2 /* Copyright (c) 1998-2015 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
9 {
13  public function isInitial() : bool
14  {
15  return false;
16  }
17 
22  public function request(ilBuddySystemRelation $relation) : void
23  {
24  throw new ilBuddySystemRelationStateException('Invalid state transition: ' . __FUNCTION__);
25  }
26 
31  public function ignore(ilBuddySystemRelation $relation) : void
32  {
33  throw new ilBuddySystemRelationStateException('Invalid state transition: ' . __FUNCTION__);
34  }
35 
40  public function link(ilBuddySystemRelation $relation) : void
41  {
42  throw new ilBuddySystemRelationStateException('Invalid state transition: ' . __FUNCTION__);
43  }
44 
49  public function unlink(ilBuddySystemRelation $relation) : void
50  {
51  throw new ilBuddySystemRelationStateException('Invalid state transition: ' . __FUNCTION__);
52  }
53 }
Class ilAbstractBuddySystemRelationState.
Class ilBuddySystemRelationStateException.
Class ilBuddySystemRelation.
Interface ilBuddySystemRelationState.