ILIAS
trunk Revision v11.0_alpha-1723-g8e69f309bab
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
BundledRequestBuilder.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\StaticURL\Request
;
22
23
use
ILIAS\HTTP\Services
;
24
use
ILIAS\Refinery\Factory
;
25
29
class
BundledRequestBuilder
implements
RequestBuilder
30
{
31
private
LegacyRequestBuilder
$legacy
;
32
private
StaticURLRequestBuilder
$static
;
33
34
public
function
__construct
()
35
{
36
$this->
legacy
=
new
LegacyRequestBuilder
();
37
$this->
static
=
new
StaticURLRequestBuilder
();
38
}
39
40
public
function
buildRequest
(
Services
$http
,
Factory
$refinery
, array $handlers): ?
Request
41
{
42
if
(($request = $this->
legacy
->buildRequest(
43
$http,
44
$refinery,
45
$handlers
46
)) instanceof
Request
) {
47
// we have now the situation that a new static URL is requested, but the handler is not yet registered or implemented
48
// we built a legacy request using the LegacyRequestBuilder for this to let the old system handle it.
49
return
$request;
50
}
51
52
return
$this->
static
->buildRequest($http, $refinery, $handlers);
53
}
54
55
}
ILIAS\UI\examples\Layout\Page\Standard\$refinery
$refinery
Definition:
ui.php:137
ILIAS\StaticURL\Request\BundledRequestBuilder\$static
StaticURLRequestBuilder $static
Definition:
BundledRequestBuilder.php:32
ILIAS\StaticURL\Request\BundledRequestBuilder
Definition:
BundledRequestBuilder.php:29
$http
$http
Definition:
deliver.php:30
ILIAS\StaticURL\Request\BundledRequestBuilder\$legacy
LegacyRequestBuilder $legacy
Definition:
BundledRequestBuilder.php:31
Services
ILIAS\StaticURL\Request\BundledRequestBuilder\buildRequest
buildRequest(Services $http, Factory $refinery, array $handlers)
Definition:
BundledRequestBuilder.php:40
ServerRequestInterface
ILIAS\StaticURL\Request\LegacyRequestBuilder
Definition:
LegacyRequestBuilder.php:32
Factory
ILIAS\Refinery\Factory
Definition:
Factory.php:25
ILIAS\StaticURL\Request\BundledRequestBuilder\__construct
__construct()
Definition:
BundledRequestBuilder.php:34
ILIAS\UI\examples\MainControls\Slate\Legacy\legacy
legacy()
expected output: > ILIAS shows the rendered Component.
Definition:
legacy.php:29
ILIAS\StaticURL\Request
Definition:
BundledRequestBuilder.php:21
ILIAS\StaticURL\Request\RequestBuilder
Definition:
RequestBuilder.php:29
ILIAS\StaticURL\Request\StaticURLRequestBuilder
Definition:
StaticURLRequestBuilder.php:30
components
ILIAS
StaticURL
src
Request
BundledRequestBuilder.php
Generated on Sun Apr 6 2025 23:04:07 for ILIAS by
1.8.13 (using
Doxyfile
)