From 70bf31b6e708174b446953af4a54cc55ff85c6f2 Mon Sep 17 00:00:00 2001 From: Richard Klees Date: Fri, 27 Sep 2024 08:52:00 +0200 Subject: [PATCH] Component: add Activities (Draft for Jepthe) --- .../Component/src/Activities/Activity.php | 68 ++++++++ .../Component/src/Activities/ActivityType.php | 27 +++ .../ILIAS/Component/src/Activities/README.md | 154 ++++++++++++++++++ .../Component/src/Activities/Repository.php | 32 ++++ 4 files changed, 281 insertions(+) create mode 100644 components/ILIAS/Component/src/Activities/Activity.php create mode 100644 components/ILIAS/Component/src/Activities/ActivityType.php create mode 100644 components/ILIAS/Component/src/Activities/README.md create mode 100644 components/ILIAS/Component/src/Activities/Repository.php diff --git a/components/ILIAS/Component/src/Activities/Activity.php b/components/ILIAS/Component/src/Activities/Activity.php new file mode 100644 index 000000000000..a6aaf593539f --- /dev/null +++ b/components/ILIAS/Component/src/Activities/Activity.php @@ -0,0 +1,68 @@ + where keys are the name + */ + public function getActivitiesByName(string $name_matcher, ?ActivityType $type = null, ?Range $range = null): Iterator; +}