ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ 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\Repository
Definition:
Repository.php:23
ILIAS\Component\Activities\ListActivitiesEntryPoint
A simple entrypoint that just says hello, for testing and documentation purpose.
Definition:
ListActivitiesEntryPoint.php:30
ILIAS\Component\EntryPoint
Definition:
Base.php:21
ILIAS\UI\examples\Deck\repository
repository()
description: > Example for rendering a repository card
Definition:
repository.php:33
ILIAS\Component\Activities\ListActivitiesEntryPoint\enter
enter()
Pass program execution to this entry point.
Definition:
ListActivitiesEntryPoint.php:38
ILIAS\Component\Activities
Definition:
Activity.php:21
ILIAS\Component\Activities\ListActivitiesEntryPoint\__construct
__construct(protected Repository $repository)
Definition:
ListActivitiesEntryPoint.php:32
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:37
Component
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
components
ILIAS
Component
src
Activities
ListActivitiesEntryPoint.php
Generated on Sun Aug 31 2025 23:02:32 for ILIAS by
1.8.13 (using
Doxyfile
)