| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
 Inheritance diagram for ilPCQuestionGUI:
 Collaboration diagram for ilPCQuestionGUI:Public Member Functions | |
| __construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id, string $a_pc_id="") | |
| executeCommand () | |
| setSelfAssessmentMode (bool $a_selfassessmentmode) | |
| getSelfAssessmentMode () | |
| setInsertTabs (string $a_active) | |
| insert (string $a_mode="create") | |
| Insert new question form.  More... | |
| create () | |
| Create new question.  More... | |
| setNewQuestionId (array $a_par) | |
| Set new question id.  More... | |
| edit () | |
| edit question  More... | |
| feedback () | |
| createQuestionPool (string $name="Dummy") | |
| Creates a new questionpool and returns the reference id.  More... | |
| setTabs () | |
| insertFromPool () | |
| Insert question from ppol.  More... | |
| poolSelection () | |
| selectPool () | |
| listPoolQuestions () | |
| copyQuestion () | |
  Public Member Functions inherited from ilPageContentGUI | |
| __construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id="", string $a_pc_id="0") | |
| setContentObject (ilPageContent $a_val) | |
| getContentObject () | |
| setPage (ilPageObject $a_val) | |
| getPage () | |
| setPageConfig (ilPageConfig $a_val) | |
| getPageConfig () | |
| setStyleId (int $a_styleid) | |
| getStyleId () | |
| getStyle () | |
| getCharacteristicsOfCurrentStyle (array $a_type) | |
| Get characteristics of current style and call setCharacteristics, if style is given.  More... | |
| setCharacteristics (array $a_chars) | |
| getCharacteristics () | |
| getHierId () | |
| setHierId (string $a_hier_id) | |
| set hierarchical id in dom object  More... | |
| delete () | |
| displayValidationError () | |
| cancelCreate () | |
| cancel creating page content  More... | |
| cancelUpdate () | |
| cancel update  More... | |
| cancel () | |
| Cancel.  More... | |
| deactivate () | |
| gui function set enabled if is not enabled and vice versa  More... | |
| cut () | |
| Cut single element.  More... | |
| copy () | |
| Copy single element.  More... | |
| getTemplateOptions (string $a_type="") | |
| Get table templates.  More... | |
Protected Attributes | |
| ILIAS TestQuestionPool QuestionInfoService | $questioninfo | 
| ilPropertyFormGUI | $form_gui | 
| int | $scormlmid | 
| bool | $selfassessmentmode | 
| ilAccessHandler | $access | 
| ilTabsGUI | $tabs | 
| ilObjUser | $user | 
| ilTree | $tree | 
| ilToolbarGUI | $toolbar | 
  Protected Attributes inherited from ilPageContentGUI | |
| ILIAS COPage Editor GUIService | $editor_gui | 
| ILIAS COPage InternalGUIService | $gui | 
| EditSessionRepository | $edit_repo | 
| string | $pc_id = "" | 
| array | $chars | 
| ilObjStyleSheet | $style = null | 
| ilLogger | $log | 
| int | $styleid = 0 | 
| EditGUIRequest | $request | 
| string | $sub_command = "" | 
| int | $requested_ref_id = 0 | 
| ILIAS GlobalScreen ScreenContext ContextServices | $tool_context | 
| Style Content CharacteristicManager | $char_manager | 
Additional Inherited Members | |
  Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () | 
  Data Fields inherited from ilPageContentGUI | |
| ilPageContent | $content_obj | 
| ilGlobalTemplateInterface | $tpl | 
| ilLanguage | $lng | 
| ilCtrl | $ctrl | 
| ilPageObject | $pg_obj | 
| string | $hier_id = "" | 
| DOMDocument | $dom | 
| $updated | |
| string | $target_script = "" | 
| string | $return_location = "" | 
| ilPageConfig | $page_config = null | 
  Static Public Attributes inherited from ilPageContentGUI | |
| static string | $style_selector_reset = "margin-top:2px; margin-bottom:2px; text-indent:0px; position:static; float:none; width: auto;" | 
  Protected Member Functions inherited from ilPageContentGUI | |
| redirectToParent (string $hier_id="") | |
| getParentReturn (string $hier_id="") | |
| updateAndReturn () | |
| setCurrentTextLang (string $lang_key) | |
| getCurrentTextLang () | |
| setEditorToolContext () | |
| initEditor () | |
| getEditorScriptTag (string $form_pc_id="", string $form_cname="") | |
  Static Protected Attributes inherited from ilPageContentGUI | |
| static array | $common_bb_buttons | 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilPCQuestionGUI Adapter User Interface class for assessment questions
Definition at line 24 of file class.ilPCQuestionGUI.php.
| ilPCQuestionGUI::__construct | ( | ilPageObject | $a_pg_obj, | 
| ?ilPageContent | $a_content_obj, | ||
| string | $a_hier_id, | ||
| string | $a_pc_id = ""  | 
        ||
| ) | 
Definition at line 36 of file class.ilPCQuestionGUI.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilPCQuestionGUI::copyQuestion | ( | ) | 
Definition at line 482 of file class.ilPCQuestionGUI.php.
References ilPageContentGUI\$ctrl, and ilPageContentGUI\getPage().
 Here is the call graph for this function:| ilPCQuestionGUI::create | ( | ) | 
Create new question.
Definition at line 197 of file class.ilPCQuestionGUI.php.
References ilPageContentGUI\getPage(), and insert().
 Here is the call graph for this function:| ilPCQuestionGUI::createQuestionPool | ( | string | $name = "Dummy" | ) | 
Creates a new questionpool and returns the reference id.
Definition at line 343 of file class.ilPCQuestionGUI.php.
References $tree, and ilTree\getParentId().
 Here is the call graph for this function:| ilPCQuestionGUI::edit | ( | ) | 
edit question
Definition at line 246 of file class.ilPCQuestionGUI.php.
References ilPageContentGUI\$ctrl, $tabs, ilInternalLink\_extractInstOfTarget(), ilInternalLink\_extractObjIdOfTarget(), assQuestionGUI\_getQuestionGUI(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_RTE, ILIAS\Repository\ctrl(), getSelfAssessmentMode(), insert(), ilObjAssessmentFolder\isAdditionalQuestionContentEditingModePageObjectEnabled(), and ilTabsGUI\setTabActive().
 Here is the call graph for this function:| ilPCQuestionGUI::executeCommand | ( | ) | 
| ilCtrlException | 
Definition at line 63 of file class.ilPCQuestionGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$sub_command, ilCtrl\getCmd(), and setTabs().
 Here is the call graph for this function:| ilPCQuestionGUI::feedback | ( | ) | 
| ilCtrlException | 
Definition at line 308 of file class.ilPCQuestionGUI.php.
References ilPageContentGUI\$ctrl, $tabs, ilInternalLink\_extractInstOfTarget(), ilInternalLink\_extractObjIdOfTarget(), ilPageContentGUI\getPageConfig(), and ilTabsGUI\setTabActive().
 Here is the call graph for this function:| ilPCQuestionGUI::getSelfAssessmentMode | ( | ) | 
Definition at line 91 of file class.ilPCQuestionGUI.php.
References $selfassessmentmode.
Referenced by edit(), and setTabs().
 Here is the caller graph for this function:| ilPCQuestionGUI::insert | ( | string | $a_mode = "create" | ) | 
Insert new question form.
Definition at line 125 of file class.ilPCQuestionGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, ilObjQuestionPool\_getSelfAssessmentQuestionTypes(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_IPE, assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_RTE, ilPageContentGUI\displayValidationError(), ilObjAssessmentFolder\isAdditionalQuestionContentEditingModePageObjectEnabled(), ILIAS\Repository\lng(), ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), setInsertTabs(), ilSelectInputGUI\setOptions(), ilArrayUtil\sortArray(), and ilLanguage\txt().
Referenced by create(), and edit().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPCQuestionGUI::insertFromPool | ( | ) | 
Insert question from ppol.
Definition at line 414 of file class.ilPCQuestionGUI.php.
References $access, ilObject\_lookupObjId(), ilObject\_lookupType(), listPoolQuestions(), and poolSelection().
 Here is the call graph for this function:| ilPCQuestionGUI::listPoolQuestions | ( | ) | 
Definition at line 454 of file class.ilPCQuestionGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, $toolbar, ilPageContentGUI\$tpl, ilGlobalTemplateInterface\setContent(), setInsertTabs(), and ilLanguage\txt().
Referenced by insertFromPool().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPCQuestionGUI::poolSelection | ( | ) | 
Definition at line 426 of file class.ilPCQuestionGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$tpl, ilGlobalTemplateInterface\setContent(), and setInsertTabs().
Referenced by insertFromPool().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPCQuestionGUI::selectPool | ( | ) | 
Definition at line 445 of file class.ilPCQuestionGUI.php.
References ilPageContentGUI\$ctrl, and ilCtrl\setParameter().
 Here is the call graph for this function:| ilPCQuestionGUI::setInsertTabs | ( | string | $a_active | ) | 
Definition at line 96 of file class.ilPCQuestionGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, $tabs, and ilLanguage\txt().
Referenced by insert(), listPoolQuestions(), and poolSelection().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPCQuestionGUI::setNewQuestionId | ( | array | $a_par | ) | 
Set new question id.
Definition at line 235 of file class.ilPCQuestionGUI.php.
| ilPCQuestionGUI::setSelfAssessmentMode | ( | bool | $a_selfassessmentmode | ) | 
Definition at line 86 of file class.ilPCQuestionGUI.php.
| ilPCQuestionGUI::setTabs | ( | ) | 
Definition at line 360 of file class.ilPCQuestionGUI.php.
References ilPageContentGUI\$ctrl, $tabs, ilInternalLink\_extractInstOfTarget(), ilInternalLink\_extractObjIdOfTarget(), ilUtil\appendUrlParameterString(), ilAssQuestionFeedbackEditingGUI\CMD_SHOW, assQuestionGUI\getCommandsFromClassConstants(), and getSelfAssessmentMode().
Referenced by executeCommand().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 30 of file class.ilPCQuestionGUI.php.
Referenced by insertFromPool().
      
  | 
  protected | 
Definition at line 27 of file class.ilPCQuestionGUI.php.
      
  | 
  protected | 
Definition at line 26 of file class.ilPCQuestionGUI.php.
      
  | 
  protected | 
Definition at line 28 of file class.ilPCQuestionGUI.php.
      
  | 
  protected | 
Definition at line 29 of file class.ilPCQuestionGUI.php.
Referenced by getSelfAssessmentMode().
      
  | 
  protected | 
Definition at line 31 of file class.ilPCQuestionGUI.php.
Referenced by edit(), feedback(), setInsertTabs(), and setTabs().
      
  | 
  protected | 
Definition at line 34 of file class.ilPCQuestionGUI.php.
Referenced by listPoolQuestions().
      
  | 
  protected | 
Definition at line 33 of file class.ilPCQuestionGUI.php.
Referenced by createQuestionPool().
      
  | 
  protected | 
Definition at line 32 of file class.ilPCQuestionGUI.php.