ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilAssQuestionAbstractPageObjectCommandForwarder Class Reference
+ Inheritance diagram for ilAssQuestionAbstractPageObjectCommandForwarder:
+ Collaboration diagram for ilAssQuestionAbstractPageObjectCommandForwarder:

Public Member Functions

 __construct (protected assQuestion $questionOBJ, protected readonly ilCtrl $ctrl, protected readonly ilTabsGUI $tabs, protected ilLanguage $lng)
 Constructor. More...
 
 forward ()
 this is the actual forward method that is to be implemented by derived forwarder classes More...
 

Protected Member Functions

 ensurePageObjectExists ($pageObjectType, $pageObjectId)
 ensures an existing page object with giben type/id More...
 
 getPageObjectGUI ($pageObjectType, $pageObjectId)
 instantiates, initialises and returns a page object gui object More...
 

Protected Attributes

RequestDataCollector $request
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilAssQuestionAbstractPageObjectCommandForwarder::__construct ( protected assQuestion  $questionOBJ,
protected readonly ilCtrl  $ctrl,
protected readonly ilTabsGUI  $tabs,
protected ilLanguage  $lng 
)

Constructor.

public

Parameters
assQuestion$questionOBJ
ilCtrl$ctrl
ilTabsGUI$tabs
ilLanguage$lng

Definition at line 43 of file class.ilAssQuestionAbstractPageObjectCommandForwarder.php.

References ensurePageObjectExists(), forward(), getPageObjectGUI(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().

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  }
+ Here is the call graph for this function:

Member Function Documentation

◆ ensurePageObjectExists()

ilAssQuestionAbstractPageObjectCommandForwarder::ensurePageObjectExists (   $pageObjectType,
  $pageObjectId 
)
abstractprotected

ensures an existing page object with giben type/id

protected

Referenced by __construct().

+ Here is the caller graph for this function:

◆ forward()

ilAssQuestionAbstractPageObjectCommandForwarder::forward ( )
abstract

this is the actual forward method that is to be implemented by derived forwarder classes

Referenced by __construct().

+ Here is the caller graph for this function:

◆ getPageObjectGUI()

ilAssQuestionAbstractPageObjectCommandForwarder::getPageObjectGUI (   $pageObjectType,
  $pageObjectId 
)
abstractprotected

instantiates, initialises and returns a page object gui object

Referenced by __construct().

+ Here is the caller graph for this function:

Field Documentation

◆ $request

RequestDataCollector ilAssQuestionAbstractPageObjectCommandForwarder::$request
protected

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