ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
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 }
getPageObjectGUI($pageObjectType, $pageObjectId)
instantiates, initialises and returns a page object gui object
forward()
this is the actual forward method that is to be implemented by derived forwarder classes ...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Abstract basic class which is to be extended by the concrete assessment question type classes...
global $DIC
Definition: feed.php:28
ensurePageObjectExists($pageObjectType, $pageObjectId)
ensures an existing page object with giben type/id
__construct(assQuestion $questionOBJ, ilCtrl $ctrl, ilTabsGUI $tabs, ilLanguage $lng)
Constructor.