ILIAS
release_8 Revision v8.24
◀ ilDoc Overview
class.StandardGUIRequest.php
Go to the documentation of this file.
1
<?php
2
19
namespace
ILIAS\MediaCast
;
20
21
use
ILIAS\Repository\BaseGUIRequest
;
22
23
class
StandardGUIRequest
24
{
25
use
BaseGUIRequest
;
26
27
public
function
__construct
(
28
\
ILIAS
\HTTP\Services
$http
,
29
\
ILIAS
\Refinery\Factory
$refinery
,
30
?array
$passed_query_params
=
null
,
31
?array
$passed_post_data
=
null
32
) {
33
$this->
initRequest
(
34
$http,
35
$refinery
,
36
$passed_query_params
,
37
$passed_post_data
38
);
39
}
40
41
public
function
getRefId
():
int
42
{
43
return
$this->
int
(
"ref_id"
);
44
}
45
46
public
function
getUserId
():
int
47
{
48
return
$this->
int
(
"user_id"
);
49
}
50
51
public
function
getItemId
():
int
52
{
53
return
$this->
int
(
"item_id"
);
54
}
55
56
public
function
getPurpose
(): string
57
{
58
return
$this->
str
(
"purpose"
);
59
}
60
61
public
function
getPresentation
(): bool
62
{
63
return
(
bool
) $this->
int
(
"presentation"
);
64
}
65
66
public
function
getEvent
(): string
67
{
68
return
$this->
str
(
"event"
);
69
}
70
71
public
function
getPlayer
(): string
72
{
73
return
$this->
str
(
"player"
);
74
}
75
76
public
function
getMobId
():
int
77
{
78
return
$this->
int
(
"mob_id"
);
79
}
80
81
public
function
getAutoplay
(): bool
82
{
83
return
(
bool
) $this->
int
(
"autoplay"
);
84
}
85
87
public
function
getItemIds
(): array
88
{
89
return
$this->
intArray
(
"item_id"
);
90
}
91
92
public
function
getTargetPurpose
(): string
93
{
94
return
$this->
str
(
"target_purpose"
);
95
}
96
97
public
function
getTargetFormat
(): string
98
{
99
return
$this->
str
(
"target_format"
);
100
}
101
102
public
function
getSeconds
():
int
103
{
104
return
$this->
int
(
"sec"
);
105
}
106
107
public
function
getSettingsPurpose
(
string
$purpose): string
108
{
109
return
$this->
str
($purpose);
110
}
111
112
public
function
getDefaultAccess
(): string
113
{
114
return
$this->
str
(
"defaultaccess"
);
115
}
116
117
public
function
getMimeTypes
(): string
118
{
119
return
$this->
str
(
"mimetypes"
);
120
}
121
}
ILIAS\MediaCast\StandardGUIRequest
Definition:
class.StandardGUIRequest.php:24
ILIAS\MediaCast\StandardGUIRequest\getItemId
getItemId()
Definition:
class.StandardGUIRequest.php:51
ILIAS\MediaCast\StandardGUIRequest\__construct
__construct(\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
Definition:
class.StandardGUIRequest.php:27
ILIAS\MediaCast\StandardGUIRequest\getDefaultAccess
getDefaultAccess()
Definition:
class.StandardGUIRequest.php:112
ILIAS\MediaCast\StandardGUIRequest\getPurpose
getPurpose()
Definition:
class.StandardGUIRequest.php:56
ILIAS\MediaCast\StandardGUIRequest\getItemIds
getItemIds()
Definition:
class.StandardGUIRequest.php:87
ILIAS\MediaCast\StandardGUIRequest\getPlayer
getPlayer()
Definition:
class.StandardGUIRequest.php:71
ILIAS\MediaCast\StandardGUIRequest\getMobId
getMobId()
Definition:
class.StandardGUIRequest.php:76
ILIAS\MediaCast\StandardGUIRequest\getUserId
getUserId()
Definition:
class.StandardGUIRequest.php:46
ILIAS\MediaCast\StandardGUIRequest\getPresentation
getPresentation()
Definition:
class.StandardGUIRequest.php:61
ILIAS\MediaCast\StandardGUIRequest\getMimeTypes
getMimeTypes()
Definition:
class.StandardGUIRequest.php:117
ILIAS\MediaCast\StandardGUIRequest\getAutoplay
getAutoplay()
Definition:
class.StandardGUIRequest.php:81
ILIAS\MediaCast\StandardGUIRequest\getTargetPurpose
getTargetPurpose()
Definition:
class.StandardGUIRequest.php:92
ILIAS\MediaCast\StandardGUIRequest\getEvent
getEvent()
Definition:
class.StandardGUIRequest.php:66
ILIAS\MediaCast\StandardGUIRequest\getTargetFormat
getTargetFormat()
Definition:
class.StandardGUIRequest.php:97
ILIAS\MediaCast\StandardGUIRequest\getSeconds
getSeconds()
Definition:
class.StandardGUIRequest.php:102
ILIAS\MediaCast\StandardGUIRequest\getSettingsPurpose
getSettingsPurpose(string $purpose)
Definition:
class.StandardGUIRequest.php:107
ILIAS\MediaCast\StandardGUIRequest\getRefId
getRefId()
Definition:
class.StandardGUIRequest.php:41
ILIAS\MediaCast
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ILIAS\Repository\intArray
intArray(string $key)
Definition:
trait.BaseGUIRequest.php:71
ILIAS\Repository\$refinery
Refinery Factory $refinery
Definition:
trait.BaseGUIRequest.php:36
ILIAS\Repository\$passed_query_params
array $passed_query_params
Definition:
trait.BaseGUIRequest.php:37
ILIAS\Repository\$passed_post_data
array $passed_post_data
Definition:
trait.BaseGUIRequest.php:38
ILIAS\Repository\BaseGUIRequest
trait BaseGUIRequest
Base gui request wrapper.
Definition:
trait.BaseGUIRequest.php:34
ILIAS\Repository\str
str(string $key)
Definition:
trait.BaseGUIRequest.php:106
ILIAS\Repository\initRequest
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.
Definition:
trait.BaseGUIRequest.php:48
ILIAS
Class ChatMainBarProvider \MainMenu\Provider.
$http
$http
Definition:
raiseError.php:7
Modules
MediaCast
classes
class.StandardGUIRequest.php
Generated on Sun Nov 2 2025 22:01:03 for ILIAS by
1.9.4 (using
Doxyfile
)