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

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

 $questionOBJ = null
 $ctrl = null
 $tabs = null
 $lng = null

Detailed Description

Constructor & Destructor Documentation

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

Constructor.

public

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

Reimplemented in ilAssQuestionHintPageObjectCommandForwarder, and ilAssQuestionFeedbackPageObjectCommandForwarder.

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

References $ctrl, $lng, $questionOBJ, and $tabs.

{
$this->questionOBJ = $questionOBJ;
$this->ctrl = $ctrl;
$this->tabs = $tabs;
$this->lng = $lng;
$this->tabs->clearTargets();
$this->lng->loadLanguageModule('content');
}

Member Function Documentation

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

ensures an existing page object with giben type/id

protected

Reimplemented in ilAssQuestionHintPageObjectCommandForwarder, and ilAssQuestionFeedbackPageObjectCommandForwarder.

ilAssQuestionAbstractPageObjectCommandForwarder::forward ( )
abstract

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

Reimplemented in ilAssQuestionHintPageObjectCommandForwarder, and ilAssQuestionFeedbackPageObjectCommandForwarder.

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

instantiates, initialises and returns a page object gui object

protected

Returns
page object gui object

Reimplemented in ilAssQuestionHintPageObjectCommandForwarder, and ilAssQuestionFeedbackPageObjectCommandForwarder.

Field Documentation

ilAssQuestionAbstractPageObjectCommandForwarder::$ctrl = null
protected
ilAssQuestionAbstractPageObjectCommandForwarder::$lng = null
protected
ilAssQuestionAbstractPageObjectCommandForwarder::$questionOBJ = null
protected
ilAssQuestionAbstractPageObjectCommandForwarder::$tabs = null
protected

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