ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\COPage\PC\MapEditorSessionRepository Class Reference

Editing session repository. More...

+ Collaboration diagram for ILIAS\COPage\PC\MapEditorSessionRepository:

Public Member Functions

 __construct ()
 
 setMode (string $mode)
 
 getMode ()
 
 setAreaNr (string $area_nr)
 
 getAreaNr ()
 
 setAreaType (string $area_type)
 
 getAreaType ()
 
 setCoords (string $coords)
 
 getCoords ()
 
 setLinkType (string $link_type)
 
 getLinkType ()
 
 setLinkTarget (string $link_target)
 
 getLinkTarget ()
 
 setLinkFrame (string $link_frame)
 
 getLinkFrame ()
 

Protected Attributes

const BASE_SESSION_KEY = 'copg_map_'
 
const MODE_KEY = self::BASE_SESSION_KEY . 'mode'
 
const AREA_NR_KEY = self::BASE_SESSION_KEY . 'area_nr'
 
const AREA_TYPE_KEY = self::BASE_SESSION_KEY . 'area_type'
 
const LINK_TYPE_KEY = self::BASE_SESSION_KEY . 'link_type'
 
const LINK_TARGET_KEY = self::BASE_SESSION_KEY . 'link_target'
 
const LINK_FRAME_KEY = self::BASE_SESSION_KEY . 'link_frame'
 
const COORDS_KEY = self::BASE_SESSION_KEY . 'coords'
 

Detailed Description

Editing session repository.

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 26 of file class.MapEditorSessionRepository.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\COPage\PC\MapEditorSessionRepository::__construct ( )

Definition at line 37 of file class.MapEditorSessionRepository.php.

38  {
39  }

Member Function Documentation

◆ getAreaNr()

ILIAS\COPage\PC\MapEditorSessionRepository::getAreaNr ( )

Definition at line 56 of file class.MapEditorSessionRepository.php.

References ILIAS\GlobalScreen\get().

56  : string
57  {
58  return \ilSession::get(self::AREA_NR_KEY) ?? "";
59  }
get(string $class_name)
+ Here is the call graph for this function:

◆ getAreaType()

ILIAS\COPage\PC\MapEditorSessionRepository::getAreaType ( )

Definition at line 66 of file class.MapEditorSessionRepository.php.

References ILIAS\GlobalScreen\get().

66  : string
67  {
68  return \ilSession::get(self::AREA_TYPE_KEY) ?? "";
69  }
get(string $class_name)
+ Here is the call graph for this function:

◆ getCoords()

ILIAS\COPage\PC\MapEditorSessionRepository::getCoords ( )

Definition at line 76 of file class.MapEditorSessionRepository.php.

References ILIAS\GlobalScreen\get().

76  : string
77  {
78  return \ilSession::get(self::COORDS_KEY) ?? "";
79  }
get(string $class_name)
+ Here is the call graph for this function:

◆ getLinkFrame()

ILIAS\COPage\PC\MapEditorSessionRepository::getLinkFrame ( )

Definition at line 106 of file class.MapEditorSessionRepository.php.

References ILIAS\GlobalScreen\get().

106  : string
107  {
108  return \ilSession::get(self::LINK_FRAME_KEY) ?? "";
109  }
get(string $class_name)
+ Here is the call graph for this function:

◆ getLinkTarget()

ILIAS\COPage\PC\MapEditorSessionRepository::getLinkTarget ( )

Definition at line 96 of file class.MapEditorSessionRepository.php.

References ILIAS\GlobalScreen\get().

96  : string
97  {
98  return \ilSession::get(self::LINK_TARGET_KEY) ?? "";
99  }
get(string $class_name)
+ Here is the call graph for this function:

◆ getLinkType()

ILIAS\COPage\PC\MapEditorSessionRepository::getLinkType ( )

Definition at line 86 of file class.MapEditorSessionRepository.php.

References ILIAS\GlobalScreen\get().

86  : string
87  {
88  return \ilSession::get(self::LINK_TYPE_KEY) ?? "";
89  }
get(string $class_name)
+ Here is the call graph for this function:

◆ getMode()

ILIAS\COPage\PC\MapEditorSessionRepository::getMode ( )

Definition at line 46 of file class.MapEditorSessionRepository.php.

References ILIAS\GlobalScreen\get().

46  : string
47  {
48  return \ilSession::get(self::MODE_KEY) ?? "";
49  }
get(string $class_name)
+ Here is the call graph for this function:

◆ setAreaNr()

ILIAS\COPage\PC\MapEditorSessionRepository::setAreaNr ( string  $area_nr)

Definition at line 51 of file class.MapEditorSessionRepository.php.

References ilSession\set().

51  : void
52  {
53  \ilSession::set(self::AREA_NR_KEY, $area_nr);
54  }
static set(string $a_var, $a_val)
Set a value.
+ Here is the call graph for this function:

◆ setAreaType()

ILIAS\COPage\PC\MapEditorSessionRepository::setAreaType ( string  $area_type)

Definition at line 61 of file class.MapEditorSessionRepository.php.

References ilSession\set().

61  : void
62  {
63  \ilSession::set(self::AREA_TYPE_KEY, $area_type);
64  }
static set(string $a_var, $a_val)
Set a value.
+ Here is the call graph for this function:

◆ setCoords()

ILIAS\COPage\PC\MapEditorSessionRepository::setCoords ( string  $coords)

Definition at line 71 of file class.MapEditorSessionRepository.php.

References ilSession\set().

71  : void
72  {
73  \ilSession::set(self::COORDS_KEY, $coords);
74  }
static set(string $a_var, $a_val)
Set a value.
+ Here is the call graph for this function:

◆ setLinkFrame()

ILIAS\COPage\PC\MapEditorSessionRepository::setLinkFrame ( string  $link_frame)

Definition at line 101 of file class.MapEditorSessionRepository.php.

References ilSession\set().

101  : void
102  {
103  \ilSession::set(self::LINK_FRAME_KEY, $link_frame);
104  }
static set(string $a_var, $a_val)
Set a value.
+ Here is the call graph for this function:

◆ setLinkTarget()

ILIAS\COPage\PC\MapEditorSessionRepository::setLinkTarget ( string  $link_target)

Definition at line 91 of file class.MapEditorSessionRepository.php.

References ilSession\set().

91  : void
92  {
93  \ilSession::set(self::LINK_TARGET_KEY, $link_target);
94  }
static set(string $a_var, $a_val)
Set a value.
+ Here is the call graph for this function:

◆ setLinkType()

ILIAS\COPage\PC\MapEditorSessionRepository::setLinkType ( string  $link_type)

Definition at line 81 of file class.MapEditorSessionRepository.php.

References ilSession\set().

81  : void
82  {
83  \ilSession::set(self::LINK_TYPE_KEY, $link_type);
84  }
static set(string $a_var, $a_val)
Set a value.
+ Here is the call graph for this function:

◆ setMode()

ILIAS\COPage\PC\MapEditorSessionRepository::setMode ( string  $mode)

Definition at line 41 of file class.MapEditorSessionRepository.php.

References ilSession\set().

41  : void
42  {
43  \ilSession::set(self::MODE_KEY, $mode);
44  }
static set(string $a_var, $a_val)
Set a value.
+ Here is the call graph for this function:

Field Documentation

◆ AREA_NR_KEY

const ILIAS\COPage\PC\MapEditorSessionRepository::AREA_NR_KEY = self::BASE_SESSION_KEY . 'area_nr'
protected

Definition at line 30 of file class.MapEditorSessionRepository.php.

◆ AREA_TYPE_KEY

const ILIAS\COPage\PC\MapEditorSessionRepository::AREA_TYPE_KEY = self::BASE_SESSION_KEY . 'area_type'
protected

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

◆ BASE_SESSION_KEY

const ILIAS\COPage\PC\MapEditorSessionRepository::BASE_SESSION_KEY = 'copg_map_'
protected

Definition at line 28 of file class.MapEditorSessionRepository.php.

◆ COORDS_KEY

const ILIAS\COPage\PC\MapEditorSessionRepository::COORDS_KEY = self::BASE_SESSION_KEY . 'coords'
protected

Definition at line 35 of file class.MapEditorSessionRepository.php.

◆ LINK_FRAME_KEY

const ILIAS\COPage\PC\MapEditorSessionRepository::LINK_FRAME_KEY = self::BASE_SESSION_KEY . 'link_frame'
protected

Definition at line 34 of file class.MapEditorSessionRepository.php.

◆ LINK_TARGET_KEY

const ILIAS\COPage\PC\MapEditorSessionRepository::LINK_TARGET_KEY = self::BASE_SESSION_KEY . 'link_target'
protected

Definition at line 33 of file class.MapEditorSessionRepository.php.

◆ LINK_TYPE_KEY

const ILIAS\COPage\PC\MapEditorSessionRepository::LINK_TYPE_KEY = self::BASE_SESSION_KEY . 'link_type'
protected

Definition at line 32 of file class.MapEditorSessionRepository.php.

◆ MODE_KEY

const ILIAS\COPage\PC\MapEditorSessionRepository::MODE_KEY = self::BASE_SESSION_KEY . 'mode'
protected

Definition at line 29 of file class.MapEditorSessionRepository.php.


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