19declare(strict_types=1);
36 public const PAGE =
'frm_thread_page';
40 return $this->context_collection->main()->repository()->administration();
44 \
ILIAS\GlobalScreen\ScreenContext\Stack\CalledContexts $called_contexts
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));
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Class ilForumExplorerGUI.
Interface IdentificationInterface.
A component is the most general form of an entity in the UI.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.