| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Class ilPCQuestionGUI. More...
 Inheritance diagram for ilPCQuestionGUI:
 Inheritance diagram for ilPCQuestionGUI: Collaboration diagram for ilPCQuestionGUI:
 Collaboration diagram for ilPCQuestionGUI:| Public Member Functions | |
| ilPCQuestionGUI (&$a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_id="") | |
| Constructor  public. | |
| setPageConfig ($a_val) | |
| Set Page Config. | |
| getPageConfig () | |
| Get Page Config. | |
| & | executeCommand () | 
| execute command | |
| setSelfAssessmentMode ($a_selfassessmentmode) | |
| Set Self Assessment Mode. | |
| getSelfAssessmentMode () | |
| Get Self Assessment Mode. | |
| insert ($a_mode="create") | |
| Insert new question form. | |
| create () | |
| Create new question. | |
| setNewQuestionId ($a_par) | |
| Set new question id. | |
| edit () | |
| edit question | |
| feedback () | |
| createQuestionPool ($name="Dummy") | |
| Creates a new questionpool and returns the reference id. | |
| setTabs () | |
| Set tabs. | |
|  Public Member Functions inherited from ilPageContentGUI | |
| ilPageContentGUI (&$a_pg_obj, &$a_content_obj, $a_hier_id=0, $a_pc_id="") | |
| Constructor  public. | |
| setStyleId ($a_styleid) | |
| Set Style Id. | |
| getStyleId () | |
| Get Style Id. | |
| setEnableInternalLinks ($a_val) | |
| Set enable internal links. | |
| getEnableInternalLinks () | |
| Get enable internal links. | |
| setEnableKeywords ($a_val) | |
| Set enable keywords handling. | |
| getEnableKeywords () | |
| Get enable keywords handling. | |
| setEnableAnchors ($a_val) | |
| Set enable anchors. | |
| getEnableAnchors () | |
| Get enable anchors. | |
| getStyle () | |
| Get style object. | |
| setCharacteristics ($a_chars) | |
| Set Characteristics. | |
| getCharacteristics () | |
| Get characteristics. | |
| getHierId () | |
| get hierarchical id in dom object | |
| setHierId ($a_hier_id) | |
| get hierarchical id in dom object | |
| getBBMenu ($a_ta_name="par_content") | |
| Get the bb menu incl. | |
| delete () | |
| delete content element | |
| moveAfter () | |
| move content element after another element | |
| moveBefore () | |
| move content element before another element | |
| splitPage () | |
| split page to new page at specified position | |
| splitPageNext () | |
| split page to next page at specified position | |
| displayValidationError () | |
| display validation errors | |
| cancelCreate () | |
| cancel creating page content | |
| cancelUpdate () | |
| cancel update | |
| deactivate () | |
| gui function set enabled if is not enabled and vice versa | |
| getTemplateOptions ($a_type) | |
| Get table templates. | |
| Data Fields | |
| $page_config = null | |
|  Data Fields inherited from ilPageContentGUI | |
| $content_obj | |
| $ilias | |
| $tpl | |
| $lng | |
| $ctrl | |
| $pg_obj | |
| $hier_id | |
| $dom | |
| $updated | |
| $target_script | |
| $return_location | |
| Additional Inherited Members | |
|  Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () | 
| Get common bb buttons. | |
|  Protected Member Functions inherited from ilPageContentGUI | |
| getCharacteristicsOfCurrentStyle ($a_type) | |
| Get characteristics of current style. | |
|  Static Protected Attributes inherited from ilPageContentGUI | |
| static | $common_bb_buttons | 
Class ilPCQuestionGUI.
Adapter User Interface class for assessment questions
ilPCQuestionGUI: ilQuestionEditGUI
Definition at line 19 of file class.ilPCQuestionGUI.php.
| ilPCQuestionGUI::create | ( | ) | 
Create new question.
Definition at line 202 of file class.ilPCQuestionGUI.php.
References $_POST, ilPageContentGUI\$hier_id, $ilCtrl, ilPageContentGUI\$lng, and insert().
 Here is the call graph for this function:
 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 372 of file class.ilPCQuestionGUI.php.
References $_GET.
| ilPCQuestionGUI::edit | ( | ) | 
edit question
Definition at line 255 of file class.ilPCQuestionGUI.php.
References $_GET, $_POST, $ilCtrl, $ret, ilInternalLink\_extractInstOfTarget(), ilInternalLink\_extractObjIdOfTarget(), assQuestionGUI\_getQuestionGUI(), ilObjSAHSLearningModule\_getTries(), getPageConfig(), getSelfAssessmentMode(), and insert().
 Here is the call graph for this function:
 Here is the call graph for this function:| & ilPCQuestionGUI::executeCommand | ( | ) | 
execute command
Definition at line 58 of file class.ilPCQuestionGUI.php.
References $_GET, $_POST, $cmd, $ilCtrl, $ret, getPageConfig(), and setTabs().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCQuestionGUI::feedback | ( | ) | 
Definition at line 327 of file class.ilPCQuestionGUI.php.
References $ilCtrl, $ret, ilInternalLink\_extractInstOfTarget(), ilInternalLink\_extractObjIdOfTarget(), and getPageConfig().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCQuestionGUI::getPageConfig | ( | ) | 
Get Page Config.
Definition at line 50 of file class.ilPCQuestionGUI.php.
References $page_config.
Referenced by edit(), executeCommand(), and feedback().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCQuestionGUI::getSelfAssessmentMode | ( | ) | 
Get Self Assessment Mode.
Definition at line 120 of file class.ilPCQuestionGUI.php.
Referenced by edit().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCQuestionGUI::ilPCQuestionGUI | ( | & | $a_pg_obj, | 
| & | $a_content_obj, | ||
| $a_hier_id, | |||
| $a_pc_id = "" | |||
| ) | 
Constructor public.
Definition at line 27 of file class.ilPCQuestionGUI.php.
References $ilCtrl, and ilPageContentGUI\ilPageContentGUI().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCQuestionGUI::insert | ( | $a_mode = "create" | ) | 
Insert new question form.
Definition at line 131 of file class.ilPCQuestionGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, ilObjQuestionPool\_getSelfAssessmentQuestionTypes(), ilPageContentGUI\displayValidationError(), ilSelectInputGUI\setOptions(), and ilUtil\sortArray().
Referenced by create(), and edit().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCQuestionGUI::setNewQuestionId | ( | $a_par | ) | 
Set new question id.
Definition at line 243 of file class.ilPCQuestionGUI.php.
| ilPCQuestionGUI::setPageConfig | ( | $a_val | ) | 
Set Page Config.
| object | Page Config | 
Definition at line 40 of file class.ilPCQuestionGUI.php.
| ilPCQuestionGUI::setSelfAssessmentMode | ( | $a_selfassessmentmode | ) | 
Set Self Assessment Mode.
| boolean | $a_selfassessmentmode | Self Assessment Mode | 
Definition at line 110 of file class.ilPCQuestionGUI.php.
| ilPCQuestionGUI::setTabs | ( | ) | 
Set tabs.
Definition at line 393 of file class.ilPCQuestionGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, ilInternalLink\_extractInstOfTarget(), and ilInternalLink\_extractObjIdOfTarget().
Referenced by executeCommand().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCQuestionGUI::$page_config = null | 
Definition at line 21 of file class.ilPCQuestionGUI.php.
Referenced by getPageConfig().