ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
NullAction.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Services\WOPI\Discovery
;
22
23
use
ILIAS\Data\URI
;
24
28
class
NullAction
extends
Action
29
{
31
public
function
__construct
()
32
{
33
}
34
35
public
function
withId
(
int
$id
): self
36
{
37
return
$this;
38
}
39
40
public
function
getId
():
int
41
{
42
return
0;
43
}
44
45
public
function
getName
(): string
46
{
47
return
'Null'
;
48
}
49
50
public
function
getExtension
(): string
51
{
52
return
''
;
53
}
54
55
public
function
getLauncherUrl
():
URI
56
{
57
return
new
URI
(
''
);
// this will fail, but a NullAction can't be used anyway
58
}
59
60
public
function
getUrlAppendix
(): ?string
61
{
62
return
null;
63
}
64
65
public
function
getTargetExtension
(): ?string
66
{
67
return
null;
68
}
69
70
}
ILIAS\Services\WOPI\Discovery\NullAction\getName
getName()
Definition:
NullAction.php:45
ILIAS\Services\WOPI\Discovery
Definition:
Action.php:21
ILIAS\Services\WOPI\Discovery\NullAction\withId
withId(int $id)
Definition:
NullAction.php:35
ILIAS\Services\WOPI\Discovery\Action
Definition:
Action.php:28
ILIAS\Services\WOPI\Discovery\NullAction\getUrlAppendix
getUrlAppendix()
Definition:
NullAction.php:60
ILIAS\Services\WOPI\Discovery\NullAction\getId
getId()
Definition:
NullAction.php:40
ILIAS\Services\WOPI\Discovery\NullAction\getExtension
getExtension()
Definition:
NullAction.php:50
ILIAS\Data\URI
The scope of this class is split ilias-conform URI's into components.
Definition:
URI.php:18
ILIAS\Services\WOPI\Discovery\NullAction\getLauncherUrl
getLauncherUrl()
Definition:
NullAction.php:55
URI
ILIAS\Services\WOPI\Discovery\NullAction\__construct
__construct()
MagicMethodsValidityInspection
Definition:
NullAction.php:31
$id
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition:
plugin.php:23
ILIAS\Services\WOPI\Discovery\NullAction\getTargetExtension
getTargetExtension()
Definition:
NullAction.php:65
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ILIAS\Services\WOPI\Discovery\NullAction
Definition:
NullAction.php:28
Services
WOPI
classes
Discovery
NullAction.php
Generated on Wed Sep 10 2025 14:12:03 for ILIAS by
1.8.13 (using
Doxyfile
)