ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
ListActivitiesEntryPoint.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Component\Activities
;
22
23
use
ILIAS\Component\EntryPoint
;
24
use
ILIAS\Component\Component
;
25
30
class
ListActivitiesEntryPoint
extends
EntryPoint\Base
31
{
32
public
function
__construct
(
33
protected
Repository
$repository
34
) {
35
parent::__construct
(self::class);
36
}
37
38
public
function
enter
():
int
39
{
40
echo join(
"\n"
, array_keys(iterator_to_array($this->
repository
->getActivitiesByName(
"/.*/"
))));
41
echo
"\n"
;
42
return
0;
43
}
44
}
ILIAS\Component\Activities\ListActivitiesEntryPoint
A simple entrypoint that just says hello, for testing and documentation purpose.
Definition:
ListActivitiesEntryPoint.php:31
ILIAS\Component\Activities\ListActivitiesEntryPoint\enter
enter()
Pass program execution to this entry point.
Definition:
ListActivitiesEntryPoint.php:38
ILIAS\Component\Activities\ListActivitiesEntryPoint\__construct
__construct(protected Repository $repository)
Definition:
ListActivitiesEntryPoint.php:32
ILIAS\Component\EntryPoint\Base
Definition:
Base.php:27
ILIAS\Component\Activities\Repository
Definition:
Repository.php:24
ILIAS\Component\Component
Definition:
Component.php:24
ILIAS\Component\Activities
Definition:
Activity.php:21
ILIAS\Component\EntryPoint
Definition:
Base.php:21
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
Definition:
PluginProviderHelper.php:38
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ILIAS\UI\examples\Deck\repository
repository()
Definition:
repository.php:33
components
ILIAS
Component
src
Activities
ListActivitiesEntryPoint.php
Generated on Sat Oct 18 2025 23:02:45 for ILIAS by
1.9.4 (using
Doxyfile
)