|
| testBaseURI (string $ILIAS_HTTP_PATH, string $expected) |
|
| testFullBuilder (string $namespace, ?int $ref_id, array $params, string $expected) |
|
◆ getBuilderParts()
static ILIAS\StaticURL\Tests\URIBuilderTest::getBuilderParts |
( |
| ) |
|
|
static |
Definition at line 57 of file URIBuilderTest.php.
References null.
59 yield [
'wiki', 42, [],
'https://test9.ilias.de/goto.php/wiki/42'];
60 yield [
'file', 42, [
'download'],
'https://test9.ilias.de/goto.php/file/42/download'];
61 yield [
'dashboard',
null, [],
'https://test9.ilias.de/goto.php/dashboard'];
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
◆ getILIAS_HTTP_Paths()
static ILIAS\StaticURL\Tests\URIBuilderTest::getILIAS_HTTP_Paths |
( |
| ) |
|
|
static |
Definition at line 35 of file URIBuilderTest.php.
37 yield [
'https://ilias.de/ilias',
'https://ilias.de/ilias'];
38 yield [
'https://ilias.de/ilias/',
'https://ilias.de/ilias'];
39 yield [
'http://ilias.de/ilias',
'http://ilias.de/ilias'];
40 yield [
'https://test9.ilias.de/goto.php',
'https://test9.ilias.de'];
41 yield [
'https://test9.ilias.de/goto.php/',
'https://test9.ilias.de'];
42 yield [
'https://test9.ilias.de/goto.php/wiki',
'https://test9.ilias.de'];
43 yield [
'https://test9.ilias.de/goto.php/wiki/22',
'https://test9.ilias.de'];
44 yield [
'http://test9.ilias.de/goto.php',
'http://test9.ilias.de'];
45 yield [
'http://test9.ilias.de/go/hello',
'http://test9.ilias.de'];
46 yield [
'http://test9.ilias.de/go/hello',
'http://test9.ilias.de'];
47 yield [
'http://test9.ilias.de/Customizing/plugins/Services/index.php',
'http://test9.ilias.de'];
◆ testBaseURI()
ILIAS\StaticURL\Tests\URIBuilderTest::testBaseURI |
( |
string |
$ILIAS_HTTP_PATH, |
|
|
string |
$expected |
|
) |
| |
◆ testFullBuilder()
ILIAS\StaticURL\Tests\URIBuilderTest::testFullBuilder |
( |
string |
$namespace, |
|
|
?int |
$ref_id, |
|
|
array |
$params, |
|
|
string |
$expected |
|
) |
| |
Definition at line 65 of file URIBuilderTest.php.
References ILIAS\StaticURL\Builder\StandardURIBuilder\build(), and null.
67 $uri_builder =
new StandardURIBuilder(
'https://test9.ilias.de');
73 $this->assertSame($expected, (
string) $uri);
if($err=$client->getError()) $namespace
if(! $DIC->user() ->getId()||!ilLTIConsumerAccess::hasCustomProviderCreationAccess()) $params
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
StandardURIBuilder $uri_builder
build(string $namespace, ?ReferenceId $reference_id=null, array $additional_parameters=[])
◆ $ilias_http_path_backup
string ILIAS\StaticURL\Tests\URIBuilderTest::$ilias_http_path_backup = null |
|
private |
◆ $uri_builder
The documentation for this class was generated from the following file: