ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ILIAS\MediaCast\StandardGUIRequest Class Reference
+ Collaboration diagram for ILIAS\MediaCast\StandardGUIRequest:

Public Member Functions

 __construct (\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
 
 getRefId ()
 
 getUserId ()
 
 getItemId ()
 
 getPurpose ()
 
 getPresentation ()
 
 getEvent ()
 
 getPlayer ()
 
 getMobId ()
 
 getAutoplay ()
 
 getItemIds ()
 
 getTargetPurpose ()
 
 getTargetFormat ()
 
 getSeconds ()
 
 getSettingsPurpose (string $purpose)
 
 getDefaultAccess ()
 
 getMimeTypes ()
 
 getTableAction (string $action_parameter)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\MediaCast\StandardGUIRequest::__construct ( \ILIAS\HTTP\Services  $http,
\ILIAS\Refinery\Factory  $refinery,
?array  $passed_query_params = null,
?array  $passed_post_data = null 
)

Definition at line 27 of file class.StandardGUIRequest.php.

References ILIAS\Repository\initRequest().

32  {
33  $this->initRequest(
34  $http,
35  $refinery,
36  $passed_query_params,
37  $passed_post_data
38  );
39  }
$http
Definition: deliver.php:30
initRequest(HTTP\Services $http, Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
Query params and post data parameters are used for testing.
+ Here is the call graph for this function:

Member Function Documentation

◆ getAutoplay()

ILIAS\MediaCast\StandardGUIRequest::getAutoplay ( )

Definition at line 89 of file class.StandardGUIRequest.php.

References ILIAS\Repository\int().

89  : bool
90  {
91  return (bool) $this->int("autoplay");
92  }
+ Here is the call graph for this function:

◆ getDefaultAccess()

ILIAS\MediaCast\StandardGUIRequest::getDefaultAccess ( )

Definition at line 128 of file class.StandardGUIRequest.php.

References ILIAS\Repository\str().

128  : string
129  {
130  return $this->str("defaultaccess");
131  }
+ Here is the call graph for this function:

◆ getEvent()

ILIAS\MediaCast\StandardGUIRequest::getEvent ( )

Definition at line 74 of file class.StandardGUIRequest.php.

References ILIAS\Repository\str().

74  : string
75  {
76  return $this->str("event");
77  }
+ Here is the call graph for this function:

◆ getItemId()

ILIAS\MediaCast\StandardGUIRequest::getItemId ( )

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

References ILIAS\Repository\int(), and ILIAS\Repository\intArray().

51  : int
52  {
53  $item_ids = $this->intArray("mcst_ids");
54  if (count($item_ids) === 1) {
55  return (int) current($item_ids);
56  }
57  $item_id = $this->int("mcst_ids");
58  if ($item_id > 0) {
59  return $item_id;
60  }
61  return $this->int("item_id");
62  }
+ Here is the call graph for this function:

◆ getItemIds()

ILIAS\MediaCast\StandardGUIRequest::getItemIds ( )
Returns
int[]

Definition at line 95 of file class.StandardGUIRequest.php.

References ILIAS\Repository\intArray().

95  : array
96  {
97  $ids = $this->intArray("mcst_ids");
98  if (count($ids) > 0) {
99  return $ids; // from table multi action
100  }
101  $ids = $this->intArray("interruptive_items"); // from confirmation
102  if (count($ids) > 0) {
103  return $ids;
104  }
105  return $this->intArray("item_id");
106  }
+ Here is the call graph for this function:

◆ getMimeTypes()

ILIAS\MediaCast\StandardGUIRequest::getMimeTypes ( )

Definition at line 133 of file class.StandardGUIRequest.php.

References ILIAS\Repository\str().

133  : string
134  {
135  return $this->str("mimetypes");
136  }
+ Here is the call graph for this function:

◆ getMobId()

ILIAS\MediaCast\StandardGUIRequest::getMobId ( )

Definition at line 84 of file class.StandardGUIRequest.php.

References ILIAS\Repository\int().

84  : int
85  {
86  return $this->int("mob_id");
87  }
+ Here is the call graph for this function:

◆ getPlayer()

ILIAS\MediaCast\StandardGUIRequest::getPlayer ( )

Definition at line 79 of file class.StandardGUIRequest.php.

References ILIAS\Repository\str().

79  : string
80  {
81  return $this->str("player");
82  }
+ Here is the call graph for this function:

◆ getPresentation()

ILIAS\MediaCast\StandardGUIRequest::getPresentation ( )

Definition at line 69 of file class.StandardGUIRequest.php.

References ILIAS\Repository\int().

69  : bool
70  {
71  return (bool) $this->int("presentation");
72  }
+ Here is the call graph for this function:

◆ getPurpose()

ILIAS\MediaCast\StandardGUIRequest::getPurpose ( )

Definition at line 64 of file class.StandardGUIRequest.php.

References ILIAS\Repository\str().

64  : string
65  {
66  return $this->str("purpose");
67  }
+ Here is the call graph for this function:

◆ getRefId()

ILIAS\MediaCast\StandardGUIRequest::getRefId ( )

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

References ILIAS\Repository\int().

41  : int
42  {
43  return $this->int("ref_id");
44  }
+ Here is the call graph for this function:

◆ getSeconds()

ILIAS\MediaCast\StandardGUIRequest::getSeconds ( )

Definition at line 118 of file class.StandardGUIRequest.php.

References ILIAS\Repository\int().

118  : int
119  {
120  return $this->int("sec");
121  }
+ Here is the call graph for this function:

◆ getSettingsPurpose()

ILIAS\MediaCast\StandardGUIRequest::getSettingsPurpose ( string  $purpose)

Definition at line 123 of file class.StandardGUIRequest.php.

References ILIAS\Repository\str().

123  : string
124  {
125  return $this->str($purpose);
126  }
+ Here is the call graph for this function:

◆ getTableAction()

ILIAS\MediaCast\StandardGUIRequest::getTableAction ( string  $action_parameter)

Definition at line 138 of file class.StandardGUIRequest.php.

References ILIAS\Repository\str().

138  : string
139  {
140  return $this->str($action_parameter);
141  }
+ Here is the call graph for this function:

◆ getTargetFormat()

ILIAS\MediaCast\StandardGUIRequest::getTargetFormat ( )

Definition at line 113 of file class.StandardGUIRequest.php.

References ILIAS\Repository\str().

113  : string
114  {
115  return $this->str("target_format");
116  }
+ Here is the call graph for this function:

◆ getTargetPurpose()

ILIAS\MediaCast\StandardGUIRequest::getTargetPurpose ( )

Definition at line 108 of file class.StandardGUIRequest.php.

References ILIAS\Repository\str().

108  : string
109  {
110  return $this->str("target_purpose");
111  }
+ Here is the call graph for this function:

◆ getUserId()

ILIAS\MediaCast\StandardGUIRequest::getUserId ( )

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

References ILIAS\Repository\int().

46  : int
47  {
48  return $this->int("user_id");
49  }
+ Here is the call graph for this function:

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