ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
Poll.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS
;
22
23
use
ILIAS\Setup\Agent
as
SetupAgent
;
24
use
ILIAS\Refinery\Factory
as
RefineryFactory
;
25
26
class
Poll
implements
Component\Component
27
{
28
public
function
init
(
29
array | \
ArrayAccess
&$define,
30
array | \
ArrayAccess
&$implement,
31
array | \
ArrayAccess
&$use,
32
array | \
ArrayAccess
&$contribute,
33
array | \
ArrayAccess
&$seek,
34
array | \
ArrayAccess
&$provide,
35
array | \
ArrayAccess
&$pull,
36
array | \
ArrayAccess
&$internal,
37
): void {
38
$contribute[Component\Resource\PublicAsset::class] = fn() =>
39
new
Component\Resource\ComponentJS
($this,
"ilPoll.js"
);
40
$contribute[SetupAgent::class] = fn() => new \ilPollSetupAgent($pull[RefineryFactory::class]);
41
}
42
}
ILIAS\Poll\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:
Poll.php:28
ILIAS
Interface Observer Contains several chained tasks and infos about them.
Definition:
AccessControl.php:21
Factory
ILIAS\Component\Resource\ComponentJS
This is a js file provided by some component.
Definition:
ComponentJS.php:26
ILIAS\Poll
Definition:
Poll.php:26
ArrayAccess
ILIAS\Setup\Agent
Definition:
HasNoNamedObjective.php:21
components
ILIAS
Poll
Poll.php
Generated on Sun Aug 31 2025 23:03:30 for ILIAS by
1.8.13 (using
Doxyfile
)