ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
WOPI.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS
;
22
23
use
ILIAS\Component\Component
;
24
use
ILIAS\Setup\Agent
;
25
use
ILIAS\Refinery\Factory
;
26
use
ILIAS\Component\Resource\PublicAsset
;
27
use
ILIAS\Component\Resource\Endpoint
;
28
use
ILIAS\Component\Resource\ComponentJS
;
29
30
class
WOPI
implements
Component
31
{
32
public
function
init
(
33
array | \
ArrayAccess
&$define,
34
array | \
ArrayAccess
&$implement,
35
array | \
ArrayAccess
&$use,
36
array | \
ArrayAccess
&$contribute,
37
array | \
ArrayAccess
&$seek,
38
array | \
ArrayAccess
&$provide,
39
array | \
ArrayAccess
&$pull,
40
array | \
ArrayAccess
&$internal,
41
): void {
42
$contribute[Agent::class] =
static
fn():
\ilWOPISetupAgent
=>
43
new \ilWOPISetupAgent(
44
$pull[Factory::class]
45
);
46
47
$contribute[PublicAsset::class] = fn():
Endpoint
=>
48
new
Endpoint
($this,
"index.php"
,
"wopi"
);
49
50
$contribute[PublicAsset::class] = fn():
ComponentJS
=>
51
new
ComponentJS
($this,
"js/dist/wopi.min.js"
);
52
}
53
}
Endpoint
ILIAS\WOPI
Definition:
WOPI.php:30
ILIAS
Interface Observer Contains several chained tasks and infos about them.
Definition:
AccessControl.php:21
ILIAS\UI\Component
ILIAS\Component\Resource\Endpoint
An endpoint is a PHP file that produces output via HTTP.
Definition:
Endpoint.php:28
ILIAS\WOPI\init
init(array|\ArrayAccess &$define, array|\ArrayAccess &$implement, array|\ArrayAccess &$use, array|\ArrayAccess &$contribute, array|\ArrayAccess &$seek, array|\ArrayAccess &$provide, array|\ArrayAccess &$pull, array|\ArrayAccess &$internal,)
Definition:
WOPI.php:32
Factory
ILIAS\Component\Resource\ComponentJS
This is a js file provided by some component.
Definition:
ComponentJS.php:26
ilWOPISetupAgent
Definition:
class.ilWOPISetupAgent.php:31
ComponentJS
ArrayAccess
Component
PublicAsset
ILIAS\Setup\Agent
Definition:
HasNoNamedObjective.php:21
components
ILIAS
WOPI
WOPI.php
Generated on Wed Sep 3 2025 23:04:29 for ILIAS by
1.8.13 (using
Doxyfile
)