ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f87
class.ilAssQuestionAbstractPageObjectCommandForwarder.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
13 {
20  protected $questionOBJ = null;
21 
28  protected $ctrl = null;
29 
36  protected $tabs = null;
37 
44  protected $lng = null;
45 
56  {
57  $this->questionOBJ = $questionOBJ;
58 
59  $this->ctrl = $ctrl;
60  $this->tabs = $tabs;
61  $this->lng = $lng;
62 
63  $this->tabs->clearTargets();
64 
65  $this->lng->loadLanguageModule('content');
66  }
67 
72  abstract function forward();
73 
79  abstract protected function ensurePageObjectExists($pageObjectType, $pageObjectId);
80 
87  abstract protected function getPageObjectGUI($pageObjectType, $pageObjectId);
88 }
This class provides processing control methods.
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 ...
Tabs GUI.
Abstract basic class which is to be extended by the concrete assessment question type classes...
ensurePageObjectExists($pageObjectType, $pageObjectId)
ensures an existing page object with giben type/id
language handling
__construct(assQuestion $questionOBJ, ilCtrl $ctrl, ilTabsGUI $tabs, ilLanguage $lng)
Constructor.