|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilPCQuestionGUI. More...
Inheritance diagram for ilPCQuestionGUI:
Collaboration diagram for ilPCQuestionGUI:Public Member Functions | |
| __construct (&$a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_id="") | |
| Constructor @access public. More... | |
| executeCommand () | |
| execute command More... | |
| setSelfAssessmentMode ($a_selfassessmentmode) | |
| Set Self Assessment Mode. More... | |
| getSelfAssessmentMode () | |
| Get Self Assessment Mode. More... | |
| setInsertTabs ($a_active) | |
| Set insert tabs. More... | |
| insert ($a_mode="create") | |
| Insert new question form. More... | |
| create () | |
| Create new question. More... | |
| setNewQuestionId ($a_par) | |
| Set new question id. More... | |
| edit () | |
| edit question More... | |
| feedback () | |
| createQuestionPool ($name="Dummy") | |
| Creates a new questionpool and returns the reference id. More... | |
| setTabs () | |
| Set tabs. More... | |
| insertFromPool () | |
| Insert question from ppol. More... | |
| poolSelection () | |
| Pool selection. More... | |
| selectPool () | |
| Select concrete question pool. More... | |
| listPoolQuestions () | |
| List questions of pool. More... | |
| copyQuestion () | |
| Copy question into page. More... | |
Public Member Functions inherited from ilPageContentGUI | |
| __construct ($a_pg_obj, $a_content_obj, $a_hier_id=0, $a_pc_id="") | |
| Constructor @access public. More... | |
| setContentObject ($a_val) | |
| Set content object. More... | |
| getContentObject () | |
| Get content object. More... | |
| setPage ($a_val) | |
| Set page. More... | |
| getPage () | |
| Get page. More... | |
| setPageConfig ($a_val) | |
| Set Page Config. More... | |
| getPageConfig () | |
| Get Page Config. More... | |
| setStyleId ($a_styleid) | |
| Set Style Id. More... | |
| getStyleId () | |
| Get Style Id. More... | |
| getStyle () | |
| Get style object. More... | |
| setCharacteristics ($a_chars) | |
| Set Characteristics. More... | |
| getCharacteristics () | |
| Get characteristics. More... | |
| getHierId () | |
| get hierarchical id in dom object More... | |
| setHierId ($a_hier_id) | |
| get hierarchical id in dom object More... | |
| getBBMenu ($a_ta_name="par_content") | |
| Get the bb menu incl. More... | |
| delete () | |
| delete content element More... | |
| moveAfter () | |
| move content element after another element More... | |
| moveBefore () | |
| move content element before another element More... | |
| splitPage () | |
| split page to new page at specified position More... | |
| splitPageNext () | |
| split page to next page at specified position More... | |
| displayValidationError () | |
| display validation errors More... | |
| 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 ($a_type) | |
| Get table templates. More... | |
Protected Attributes | |
| $access | |
| $tabs | |
| $user | |
| $tree | |
| $toolbar | |
Protected Attributes inherited from ilPageContentGUI | |
| $error | |
| $log | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () |
| Get common bb buttons. More... | |
Data Fields inherited from ilPageContentGUI | |
| $content_obj | |
| $tpl | |
| $lng | |
| $ctrl | |
| $pg_obj | |
| $hier_id | |
| $dom | |
| $updated | |
| $target_script | |
| $return_location | |
| $page_config = null | |
Static Public Attributes inherited from ilPageContentGUI | |
| static | $style_selector_reset = "margin-top:2px; margin-bottom:2px; text-indent:0px; position:static; float:none; width: auto;" |
Protected Member Functions inherited from ilPageContentGUI | |
| getCharacteristicsOfCurrentStyle ($a_type) | |
| Get characteristics of current style. More... | |
Static Protected Attributes inherited from ilPageContentGUI | |
| static | $common_bb_buttons |
Class ilPCQuestionGUI.
Adapter User Interface class for assessment questions
Definition at line 18 of file class.ilPCQuestionGUI.php.
| ilPCQuestionGUI::__construct | ( | & | $a_pg_obj, |
| & | $a_content_obj, | ||
| $a_hier_id, | |||
$a_pc_id = "" |
|||
| ) |
Constructor @access public.
Definition at line 49 of file class.ilPCQuestionGUI.php.
References $DIC, $ilCtrl, ILIAS\GlobalScreen\Provider\__construct(), and user().
Here is the call graph for this function:| ilPCQuestionGUI::copyQuestion | ( | ) |
Copy question into page.
return
Definition at line 598 of file class.ilPCQuestionGUI.php.
References $_GET, ilPageContentGUI\$ctrl, $ilCtrl, and ilPageContentGUI\getPage().
Here is the call graph for this function:| ilPCQuestionGUI::create | ( | ) |
Create new question.
Definition at line 254 of file class.ilPCQuestionGUI.php.
References $_POST, ilPageContentGUI\$hier_id, $ilCtrl, ilPageContentGUI\$lng, ilPageContentGUI\getPage(), and insert().
Here is the call graph for this function:| ilPCQuestionGUI::createQuestionPool | ( | $name = "Dummy" | ) |
Creates a new questionpool and returns the reference id.
Creates a new questionpool and returns the reference id
Definition at line 421 of file class.ilPCQuestionGUI.php.
| ilPCQuestionGUI::edit | ( | ) |
edit question
Definition at line 306 of file class.ilPCQuestionGUI.php.
References $_GET, $_POST, ilPageContentGUI\$ctrl, $ilCtrl, $ret, $tabs, ilInternalLink\_extractInstOfTarget(), ilInternalLink\_extractObjIdOfTarget(), assQuestionGUI\_getQuestionGUI(), ilObjSAHSLearningModule\_getTries(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_DEFAULT, getSelfAssessmentMode(), insert(), and ilObjAssessmentFolder\isAdditionalQuestionContentEditingModePageObjectEnabled().
Here is the call graph for this function:| ilPCQuestionGUI::executeCommand | ( | ) |
execute command
Definition at line 70 of file class.ilPCQuestionGUI.php.
References $_GET, $_POST, $access, ilPageContentGUI\$ctrl, $ilCtrl, ilPageContentGUI\$lng, $ret, $tabs, ilPageContentGUI\$tpl, and setTabs().
Here is the call graph for this function:| ilPCQuestionGUI::feedback | ( | ) |
Definition at line 381 of file class.ilPCQuestionGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, $ret, $tabs, ilInternalLink\_extractInstOfTarget(), ilInternalLink\_extractObjIdOfTarget(), and ilPageContentGUI\getPageConfig().
Here is the call graph for this function:| ilPCQuestionGUI::getSelfAssessmentMode | ( | ) |
Get Self Assessment Mode.
Definition at line 118 of file class.ilPCQuestionGUI.php.
Referenced by edit(), and setTabs().
Here is the caller graph for this function:| ilPCQuestionGUI::insert | ( | $a_mode = "create" | ) |
Insert new question form.
Definition at line 157 of file class.ilPCQuestionGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, $ilUser, ilPageContentGUI\$lng, $user, ilObjQuestionPool\_getSelfAssessmentQuestionTypes(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_DEFAULT, assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_PAGE_OBJECT, ilPageContentGUI\displayValidationError(), ilObjAssessmentFolder\isAdditionalQuestionContentEditingModePageObjectEnabled(), setInsertTabs(), and ilUtil\sortArray().
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 497 of file class.ilPCQuestionGUI.php.
References $_SESSION, $access, ilPageContentGUI\$ctrl, $ilCtrl, ilPageContentGUI\$lng, $tabs, $toolbar, ilPageContentGUI\$tpl, ilObject\_lookupObjId(), ilObject\_lookupType(), listPoolQuestions(), and poolSelection().
Here is the call graph for this function:| ilPCQuestionGUI::listPoolQuestions | ( | ) |
List questions of pool.
return
Definition at line 562 of file class.ilPCQuestionGUI.php.
References $_SESSION, ilPageContentGUI\$ctrl, $ilCtrl, ilPageContentGUI\$lng, $toolbar, ilPageContentGUI\$tpl, ilUtil\sendInfo(), and setInsertTabs().
Referenced by insertFromPool().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCQuestionGUI::poolSelection | ( | ) |
Pool selection.
return
Definition at line 521 of file class.ilPCQuestionGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, $tabs, ilPageContentGUI\$tpl, $tree, and setInsertTabs().
Referenced by insertFromPool().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCQuestionGUI::selectPool | ( | ) |
Select concrete question pool.
Definition at line 547 of file class.ilPCQuestionGUI.php.
References $_GET, $_SESSION, ilPageContentGUI\$ctrl, and $ilCtrl.
| ilPCQuestionGUI::setInsertTabs | ( | $a_active | ) |
Set insert tabs.
| string | $a_active | active tab id |
Definition at line 128 of file class.ilPCQuestionGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, ilPageContentGUI\$lng, and $tabs.
Referenced by insert(), listPoolQuestions(), and poolSelection().
Here is the caller graph for this function:| ilPCQuestionGUI::setNewQuestionId | ( | $a_par | ) |
Set new question id.
Definition at line 295 of file class.ilPCQuestionGUI.php.
| ilPCQuestionGUI::setSelfAssessmentMode | ( | $a_selfassessmentmode | ) |
Set Self Assessment Mode.
| boolean | $a_selfassessmentmode | Self Assessment Mode |
Definition at line 108 of file class.ilPCQuestionGUI.php.
| ilPCQuestionGUI::setTabs | ( | ) |
Set tabs.
Definition at line 442 of file class.ilPCQuestionGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, ilPageContentGUI\$lng, $tabs, ilInternalLink\_extractInstOfTarget(), ilInternalLink\_extractObjIdOfTarget(), assQuestion\_getQuestionType(), 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 23 of file class.ilPCQuestionGUI.php.
Referenced by executeCommand(), and insertFromPool().
|
protected |
Definition at line 28 of file class.ilPCQuestionGUI.php.
Referenced by edit(), executeCommand(), feedback(), insertFromPool(), poolSelection(), setInsertTabs(), and setTabs().
|
protected |
Definition at line 43 of file class.ilPCQuestionGUI.php.
Referenced by insertFromPool(), and listPoolQuestions().
|
protected |
Definition at line 38 of file class.ilPCQuestionGUI.php.
Referenced by createQuestionPool(), and poolSelection().
|
protected |
Definition at line 33 of file class.ilPCQuestionGUI.php.
Referenced by insert().