ILIAS  release_8 Revision v8.25-1-g13de6a5eca6
class.ilAssQuestionAbstractPageObjectCommandForwarder.php
Go to the documentation of this file.
1<?php
2
28{
29 protected \ILIAS\TestQuestionPool\InternalRequestService $request;
36 protected $questionOBJ = null;
37
44 protected $ctrl = null;
45
52 protected $tabs = null;
53
60 protected $lng = null;
61
72 {
73 $this->questionOBJ = $questionOBJ;
74
75 $this->ctrl = $ctrl;
76 $this->tabs = $tabs;
77 $this->lng = $lng;
78
79 global $DIC;
80 $this->request = $DIC->testQuestionPool()->internal()->request();
81 $this->tabs->clearTargets();
82
83 $this->lng->loadLanguageModule('content');
84 }
85
90 abstract public function forward();
91
97 abstract protected function ensurePageObjectExists($pageObjectType, $pageObjectId): void;
98
102 abstract protected function getPageObjectGUI($pageObjectType, $pageObjectId);
103}
Abstract basic class which is to be extended by the concrete assessment question type classes.
__construct(assQuestion $questionOBJ, ilCtrl $ctrl, ilTabsGUI $tabs, ilLanguage $lng)
Constructor.
ensurePageObjectExists($pageObjectType, $pageObjectId)
ensures an existing page object with giben type/id
forward()
this is the actual forward method that is to be implemented by derived forwarder classes
getPageObjectGUI($pageObjectType, $pageObjectId)
instantiates, initialises and returns a page object gui object
Class ilCtrl provides processing control methods.
language handling
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: feed.php:28