ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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}
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
This class provides processing control methods.
language handling
Tabs GUI.