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

Class ilBuddySystemBaseStateTest. More...

+ Inheritance diagram for ilBuddySystemBaseStateTest:
+ Collaboration diagram for ilBuddySystemBaseStateTest:

Public Member Functions

 setUp ()
 
 getInitialState ()
 

Data Fields

const RELATION_OWNER_ID = -1
 
const RELATION_BUDDY_ID = -2
 

Protected Attributes

 $backupGlobals = false
 
 $relation
 

Additional Inherited Members

- Protected Member Functions inherited from ilBuddySystemBaseTest
 setGlobalVariable ($name, $value)
 
 assertException ($exception_class)
 

Detailed Description

Member Function Documentation

◆ getInitialState()

ilBuddySystemBaseStateTest::getInitialState ( )
abstract
Returns
ilBuddySystemRelationState

Referenced by setUp().

+ Here is the caller graph for this function:

◆ setUp()

ilBuddySystemBaseStateTest::setUp ( )

Definition at line 28 of file ilBuddySystemBaseStateTest.php.

References getInitialState().

29  {
30  $this->relation = new ilBuddySystemRelation($this->getInitialState());
31  $this->relation->setUserId(self::RELATION_OWNER_ID);
32  $this->relation->setBuddyUserId(self::RELATION_BUDDY_ID);
33  }
Class ilBuddySystemRelation.
+ Here is the call graph for this function:

Field Documentation

◆ $backupGlobals

ilBuddySystemBaseStateTest::$backupGlobals = false
protected

Definition at line 18 of file ilBuddySystemBaseStateTest.php.

◆ $relation

ilBuddySystemBaseStateTest::$relation
protected

Definition at line 23 of file ilBuddySystemBaseStateTest.php.

◆ RELATION_BUDDY_ID

const ilBuddySystemBaseStateTest::RELATION_BUDDY_ID = -2

Definition at line 13 of file ilBuddySystemBaseStateTest.php.

◆ RELATION_OWNER_ID

const ilBuddySystemBaseStateTest::RELATION_OWNER_ID = -1

Definition at line 12 of file ilBuddySystemBaseStateTest.php.


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