ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
class.ilAssQuestionAbstractPageObjectCommandForwarder.php
Go to the documentation of this file.
1 <?php
2 
21 
31 {
33 
43  public function __construct(
44  protected assQuestion $questionOBJ,
45  protected readonly ilCtrl $ctrl,
46  protected readonly ilTabsGUI $tabs,
47  protected ilLanguage $lng
48  ) {
49  $local_dic = QuestionPoolDIC::dic();
50  $this->request = $local_dic['request_data_collector'];
51 
52  $this->tabs->clearTargets();
53 
54  $this->lng->loadLanguageModule('content');
55  }
56 
61  abstract public function forward();
62 
68  abstract protected function ensurePageObjectExists($pageObjectType, $pageObjectId): void;
69 
73  abstract protected function getPageObjectGUI($pageObjectType, $pageObjectId);
74 }
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...
__construct(protected assQuestion $questionOBJ, protected readonly ilCtrl $ctrl, protected readonly ilTabsGUI $tabs, protected ilLanguage $lng)
Constructor.
ensurePageObjectExists($pageObjectType, $pageObjectId)
ensures an existing page object with giben type/id
global $lng
Definition: privfeed.php:31