ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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.

@access public

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

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

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 }

References ILIAS\Repository\lng(), and ILIAS\Repository\tabs().

+ 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

@access protected

Reimplemented in ilAssQuestionFeedbackPageObjectCommandForwarder.

◆ forward()

ilAssQuestionAbstractPageObjectCommandForwarder::forward ( )
abstract

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

Reimplemented in ilAssQuestionFeedbackPageObjectCommandForwarder.

◆ getPageObjectGUI()

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

instantiates, initialises and returns a page object gui object

Reimplemented in ilAssQuestionFeedbackPageObjectCommandForwarder.

Field Documentation

◆ $request

RequestDataCollector ilAssQuestionAbstractPageObjectCommandForwarder::$request
protected

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