19 declare(strict_types=1);
36 public const PAGE =
'frm_thread_page';
40 return $this->context_collection->main()->repository()->administration();
47 $l = (fn(
string $content):
Component => $this->dic->ui()->factory()->legacy()->content($content));
51 $additionalData = $called_contexts->getLast()->getAdditionalData();
52 if ($additionalData->exists(self::SHOW_FORUM_THREADS_TOOL) && $additionalData->get(self::SHOW_FORUM_THREADS_TOOL) ===
true) {
53 $thread = $additionalData->get(self::FORUM_THEAD);
54 $controller = $additionalData->get(self::FORUM_BASE_CONTROLLER);
55 $root = $additionalData->get(self::FORUM_THREAD_ROOT);
58 $title = $this->dic->language()->txt(
'forums_articles');
59 $icon = $this->dic->ui()->factory()->symbol()->icon()->standard(
'frm', $title);
62 ->tool($iff(
'Forum|Tree'))
65 ->withContentWrapper(
static function () use ($l, $controller, $thread, $root):
Component {
67 'frm_exp_' . $thread->getId(),
74 return $l($exp->getHTML(
true));
Class ilForumExplorerGUI.
Interface Observer Contains several chained tasks and infos about them.
Interface IdentificationInterface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...