|
| 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 59 of file URIBuilderTest.php.
References null.
62 [
'wiki', 42, [],
'https://test9.ilias.de/goto.php/wiki/42'],
63 [
'file', 42, [
'download'],
'https://test9.ilias.de/goto.php/file/42/download'],
64 [
'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.
38 [
'https://ilias.de/ilias',
'https://ilias.de/ilias'],
39 [
'https://ilias.de/ilias/',
'https://ilias.de/ilias'],
40 [
'http://ilias.de/ilias',
'http://ilias.de/ilias'],
41 [
'https://test9.ilias.de/goto.php',
'https://test9.ilias.de'],
42 [
'https://test9.ilias.de/goto.php/',
'https://test9.ilias.de'],
43 [
'https://test9.ilias.de/goto.php/wiki',
'https://test9.ilias.de'],
44 [
'https://test9.ilias.de/goto.php/wiki/22',
'https://test9.ilias.de'],
45 [
'http://test9.ilias.de/goto.php',
'http://test9.ilias.de'],
46 [
'http://test9.ilias.de/go/hello',
'http://test9.ilias.de'],
47 [
'http://test9.ilias.de/go/hello',
'http://test9.ilias.de'],
48 [
'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 70 of file URIBuilderTest.php.
References ILIAS\StaticURL\Builder\StandardURIBuilder\build(), and null.
72 $uri_builder =
new StandardURIBuilder(
'https://test9.ilias.de');
78 $this->assertEquals($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: