ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
Action.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\components\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
}
ILIAS\components\WOPI\Discovery\Action\getLauncherUrl
getLauncherUrl()
Definition:
Action.php:61
ILIAS\components\WOPI\Discovery\Action\withId
withId(int $id)
Definition:
Action.php:40
ILIAS\components\WOPI\Discovery\Action
Definition:
Action.php:28
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
ILIAS\components\WOPI\Discovery
Definition:
Action.php:21
ILIAS\components\WOPI\Discovery\Action\getTargetExtension
getTargetExtension()
Definition:
Action.php:71
ILIAS\components\WOPI\Discovery\Action\getName
getName()
Definition:
Action.php:51
ILIAS\components\WOPI\Discovery\Action\getExtension
getExtension()
Definition:
Action.php:56
ILIAS\components\WOPI\Discovery\Action\getId
getId()
Definition:
Action.php:46
ILIAS\Data\URI
ILIAS\components\WOPI\Discovery\Action\getUrlAppendix
getUrlAppendix()
Definition:
Action.php:66
$id
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition:
plugin.php:23
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ILIAS\components\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
components
ILIAS
WOPI
classes
Discovery
Action.php
Generated on Wed Sep 3 2025 23:03:28 for ILIAS by
1.8.13 (using
Doxyfile
)