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

Public Member Functions

 __construct (ilLanguage $lng)
 
 getCancelCmd ()
 
 setCancelCmd (string $cancelCmd)
 
 getConfirmCmd ()
 
 setConfirmCmd (string $confirmCmd)
 
 build (bool $isFixedTest)
 
- Public Member Functions inherited from ilConfirmationGUI
 setFormAction (string $a_form_action)
 
 getFormAction ()
 
 setHeaderText (string $a_headertext)
 
 getHeaderText ()
 
 setFormName (string $a_name)
 
 addButton (string $a_txt, string $a_cmd)
 
 setCancel (string $a_txt, string $a_cmd, string $a_id='')
 
 setConfirm (string $a_txt, string $a_cmd, string $a_id='')
 
 addItem (string $a_post_var, string $a_id, string $a_text, string $a_img='', string $a_alt='')
 
 addHiddenItem (string $a_post_var, string $a_value)
 
 getHTML ()
 

Protected Attributes

string $cancelCmd
 
string $confirmCmd
 
- Protected Attributes inherited from ilConfirmationGUI
ilLanguage $lng
 
string $form_action = ''
 
string $headertext = ''
 
string $cancel_txt = ''
 
string $cancel_cmd = ''
 
string $cancel_id = ''
 
string $confirm_txt = ''
 
string $confirm_cmd = ''
 
string $confirm_id = ''
 

Private Member Functions

 buildHeaderText (bool $isFixedTest)
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilTestAnswerOptionalQuestionsConfirmationGUI::__construct ( ilLanguage  $lng)

Definition at line 33 of file class.ilTestAnswerOptionalQuestionsConfirmationGUI.php.

References ilConfirmationGUI\$lng, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), and null.

34  {
35  $this->lng = $lng;
36 
37  $this->cancelCmd = null;
38  $this->confirmCmd = null;
39 
41  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ build()

ilTestAnswerOptionalQuestionsConfirmationGUI::build ( bool  $isFixedTest)

◆ buildHeaderText()

ilTestAnswerOptionalQuestionsConfirmationGUI::buildHeaderText ( bool  $isFixedTest)
private

Definition at line 70 of file class.ilTestAnswerOptionalQuestionsConfirmationGUI.php.

References ILIAS\Repository\lng().

Referenced by build().

70  : string
71  {
72  if ($isFixedTest) {
73  return $this->lng->txt('tst_optional_questions_confirmation_fixed_test');
74  }
75 
76  return $this->lng->txt('tst_optional_questions_confirmation_non_fixed_test');
77  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCancelCmd()

ilTestAnswerOptionalQuestionsConfirmationGUI::getCancelCmd ( )

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

References $cancelCmd.

Referenced by build().

+ Here is the caller graph for this function:

◆ getConfirmCmd()

ilTestAnswerOptionalQuestionsConfirmationGUI::getConfirmCmd ( )

Definition at line 53 of file class.ilTestAnswerOptionalQuestionsConfirmationGUI.php.

References $confirmCmd.

Referenced by build().

+ Here is the caller graph for this function:

◆ setCancelCmd()

ilTestAnswerOptionalQuestionsConfirmationGUI::setCancelCmd ( string  $cancelCmd)

◆ setConfirmCmd()

ilTestAnswerOptionalQuestionsConfirmationGUI::setConfirmCmd ( string  $confirmCmd)

Field Documentation

◆ $cancelCmd

string ilTestAnswerOptionalQuestionsConfirmationGUI::$cancelCmd
protected

◆ $confirmCmd

string ilTestAnswerOptionalQuestionsConfirmationGUI::$confirmCmd
protected

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