ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilObjQuestionPoolTaxonomyEditingCommandForwarder Class Reference
+ Collaboration diagram for ilObjQuestionPoolTaxonomyEditingCommandForwarder:

Public Member Functions

 __construct (ilObjQuestionPool $poolOBJ, ilDB $db, ilPluginAdmin $pluginAdmin, ilCtrl $ctrl, ilTabsGUI $tabs, ilLanguage $lng)
 Constructor.
 forward ()
 forward method

Protected Attributes

 $poolOBJ = null
 $db = null
 $pluginAdmin = null
 $ctrl = null
 $tabs = null
 $lng = null

Detailed Description

Constructor & Destructor Documentation

ilObjQuestionPoolTaxonomyEditingCommandForwarder::__construct ( ilObjQuestionPool  $poolOBJ,
ilDB  $db,
ilPluginAdmin  $pluginAdmin,
ilCtrl  $ctrl,
ilTabsGUI  $tabs,
ilLanguage  $lng 
)

Constructor.

Parameters
ilObjQuestionPool$poolOBJ
ilDB$db
ilPluginAdmin$pluginAdmin
ilCtrl$ctrl
ilTabsGUI$tabs
ilLanguage$lng

Definition at line 66 of file class.ilObjQuestionPoolTaxonomyEditingCommandForwarder.php.

References $ctrl, $db, $lng, $pluginAdmin, $poolOBJ, and $tabs.

{
$this->poolOBJ = $poolOBJ;
$this->db = $db;
$this->pluginAdmin = $pluginAdmin;
$this->ctrl = $ctrl;
$this->tabs = $tabs;
$this->lng = $lng;
}

Member Function Documentation

ilObjQuestionPoolTaxonomyEditingCommandForwarder::forward ( )

forward method

Definition at line 79 of file class.ilObjQuestionPoolTaxonomyEditingCommandForwarder.php.

References ilAssQuestionList\load().

{
$this->tabs->setTabActive('settings');
$this->lng->loadLanguageModule('tax');
require_once 'Modules/TestQuestionPool/classes/class.ilAssQuestionList.php';
$questionList = new ilAssQuestionList(
$this->db, $this->lng, $this->pluginAdmin, $this->poolOBJ->getId()
);
$questionList->load();
require_once 'Services/Taxonomy/classes/class.ilObjTaxonomyGUI.php';
$taxGUI = new ilObjTaxonomyGUI();
$taxGUI->setAssignedObject($this->poolOBJ->getId());
$taxGUI->setMultiple(true);
$taxGUI->activateAssignedItemSorting($questionList, 'qpl', $this->poolOBJ->getId(), 'quest');
$this->ctrl->forwardCommand($taxGUI);
}

+ Here is the call graph for this function:

Field Documentation

ilObjQuestionPoolTaxonomyEditingCommandForwarder::$ctrl = null
protected
ilObjQuestionPoolTaxonomyEditingCommandForwarder::$db = null
protected
ilObjQuestionPoolTaxonomyEditingCommandForwarder::$lng = null
protected
ilObjQuestionPoolTaxonomyEditingCommandForwarder::$pluginAdmin = null
protected
ilObjQuestionPoolTaxonomyEditingCommandForwarder::$poolOBJ = null
protected
ilObjQuestionPoolTaxonomyEditingCommandForwarder::$tabs = null
protected

The documentation for this class was generated from the following file: