ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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.

32 {
33 $this->initRequest(
34 $http,
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.

References ILIAS\UI\examples\Layout\Page\Standard\$refinery, and ILIAS\Repository\initRequest().

+ 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.

89 : bool
90 {
91 return (bool) $this->int("autoplay");
92 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getDefaultAccess()

ILIAS\MediaCast\StandardGUIRequest::getDefaultAccess ( )

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

128 : string
129 {
130 return $this->str("defaultaccess");
131 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getEvent()

ILIAS\MediaCast\StandardGUIRequest::getEvent ( )

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

74 : string
75 {
76 return $this->str("event");
77 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getItemId()

ILIAS\MediaCast\StandardGUIRequest::getItemId ( )

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

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 }

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

+ Here is the call graph for this function:

◆ getItemIds()

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

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

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 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getMimeTypes()

ILIAS\MediaCast\StandardGUIRequest::getMimeTypes ( )

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

133 : string
134 {
135 return $this->str("mimetypes");
136 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getMobId()

ILIAS\MediaCast\StandardGUIRequest::getMobId ( )

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

84 : int
85 {
86 return $this->int("mob_id");
87 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPlayer()

ILIAS\MediaCast\StandardGUIRequest::getPlayer ( )

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

79 : string
80 {
81 return $this->str("player");
82 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getPresentation()

ILIAS\MediaCast\StandardGUIRequest::getPresentation ( )

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

69 : bool
70 {
71 return (bool) $this->int("presentation");
72 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPurpose()

ILIAS\MediaCast\StandardGUIRequest::getPurpose ( )

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

64 : string
65 {
66 return $this->str("purpose");
67 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getRefId()

ILIAS\MediaCast\StandardGUIRequest::getRefId ( )

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

41 : int
42 {
43 return $this->int("ref_id");
44 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getSeconds()

ILIAS\MediaCast\StandardGUIRequest::getSeconds ( )

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

118 : int
119 {
120 return $this->int("sec");
121 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getSettingsPurpose()

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

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

123 : string
124 {
125 return $this->str($purpose);
126 }

References ILIAS\Repository\str().

+ 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.

138 : string
139 {
140 return $this->str($action_parameter);
141 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getTargetFormat()

ILIAS\MediaCast\StandardGUIRequest::getTargetFormat ( )

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

113 : string
114 {
115 return $this->str("target_format");
116 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getTargetPurpose()

ILIAS\MediaCast\StandardGUIRequest::getTargetPurpose ( )

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

108 : string
109 {
110 return $this->str("target_purpose");
111 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getUserId()

ILIAS\MediaCast\StandardGUIRequest::getUserId ( )

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

46 : int
47 {
48 return $this->int("user_id");
49 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

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