ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
Action.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\WOPI\Discovery
;
22
23
use
ILIAS\Data\URI
;
24
28
class
Action
29
{
30
public
function
__construct
(
31
private
int
$id
,
32
private
string
$name,
33
private
string
$extension,
34
private
URI
$launcher_url,
35
private
?
string
$url_appendix =
null
,
36
private
?
string
$target_ext =
null
37
) {
38
}
39
40
public
function
withId
(
int
$id
): self
41
{
42
$this->
id
=
$id
;
43
return
$this;
44
}
45
46
public
function
getId
():
int
47
{
48
return
$this->id
;
49
}
50
51
public
function
getName
(): string
52
{
53
return
$this->name;
54
}
55
56
public
function
getExtension
(): string
57
{
58
return
$this->extension;
59
}
60
61
public
function
getLauncherUrl
():
URI
62
{
63
return
$this->launcher_url;
64
}
65
66
public
function
getUrlAppendix
(): ?string
67
{
68
return
$this->url_appendix;
69
}
70
71
public
function
getTargetExtension
(): ?string
72
{
73
return
$this->target_ext;
74
}
75
76
}
$id
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition:
plugin.php:23
ILIAS\Data\URI
The scope of this class is split ilias-conform URI's into components.
Definition:
URI.php:35
ILIAS\WOPI\Discovery\Action
Definition:
Action.php:29
ILIAS\WOPI\Discovery\Action\getLauncherUrl
getLauncherUrl()
Definition:
Action.php:61
ILIAS\WOPI\Discovery\Action\withId
withId(int $id)
Definition:
Action.php:40
ILIAS\WOPI\Discovery\Action\__construct
__construct(private int $id, private string $name, private string $extension, private URI $launcher_url, private ?string $url_appendix=null, private ?string $target_ext=null)
Definition:
Action.php:30
ILIAS\WOPI\Discovery\Action\getId
getId()
Definition:
Action.php:46
ILIAS\WOPI\Discovery\Action\getUrlAppendix
getUrlAppendix()
Definition:
Action.php:66
ILIAS\WOPI\Discovery\Action\getName
getName()
Definition:
Action.php:51
ILIAS\WOPI\Discovery\Action\getTargetExtension
getTargetExtension()
Definition:
Action.php:71
ILIAS\WOPI\Discovery\Action\getExtension
getExtension()
Definition:
Action.php:56
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ILIAS\WOPI\Discovery
Definition:
Action.php:21
components
ILIAS
WOPI
classes
Discovery
Action.php
Generated on Sat Oct 18 2025 23:03:27 for ILIAS by
1.9.4 (using
Doxyfile
)