ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilLMPresentationRequest.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
11 {
15  public function __construct(array $query_params)
16  {
17  $this->requested_ref_id = (int) $query_params["ref_id"];
18  $this->requested_transl = (string) $query_params["transl"]; // handled by presentation status
19  $this->requested_focus_id = (int) $query_params["focus_id"]; // handled by presentation status
20  $this->requested_obj_id = (int) $query_params["obj_id"]; // handled by navigation status
21  $this->requested_back_pg = (string) $query_params["back_pg"];
22  $this->requested_frame = (string) $query_params["frame"];
23  $this->requested_search_string = (string) $query_params["srcstring"];
24  $this->requested_focus_return = (int) $query_params["focus_return"];
25  $this->requested_from_page = (string) $query_params["from_page"];
26  $this->requested_obj_type = (string) $query_params["obj_type"];
27  $this->requested_mob_id = (int) $query_params["mob_id"];
28  $this->requested_embed_mode = (int) $query_params["embed_mode"];
29  $this->requested_cmd = (string) $query_params["cmd"];
30  }
31 
35  public function getRequestedRefId() : int
36  {
37  return $this->requested_ref_id;
38  }
39 
43  public function getRequestedObjId() : int
44  {
45  return $this->requested_obj_id;
46  }
47 
51  public function getRequestedObjType() : string
52  {
53  return $this->requested_obj_type;
54  }
55 
59  public function getRequestedTranslation() : string
60  {
61  return $this->requested_transl;
62  }
63 
67  public function getRequestedFocusId() : int
68  {
69  return $this->requested_focus_id;
70  }
71 
75  public function getRequestedFocusReturn() : int
76  {
77  return $this->requested_focus_return;
78  }
79 
83  public function getRequestedBackPage() : string
84  {
85  return $this->requested_back_pg;
86  }
87 
91  public function getRequestedSearchString() : string
92  {
93  return $this->requested_search_string;
94  }
95 
99  public function getRequestedFrame() : string
100  {
101  return $this->requested_frame;
102  }
103 
107  public function getRequestedFromPage() : string
108  {
109  return $this->requested_from_page;
110  }
111 
115  public function getRequestedMobId() : int
116  {
117  return $this->requested_mob_id;
118  }
119 
123  public function getRequestedEmbedMode() : int
124  {
125  return $this->requested_embed_mode;
126  }
127 
131  public function getRequestedCmd() : string
132  {
133  return $this->requested_cmd;
134  }
135 }
__construct(array $query_params)
Constructor.
Learning module presentation request.