|
ILIAS
release_8 Revision v8.24
|
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 () | |
| 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 () | |
| 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 | |
| ilPropertyFormGUI | $form_gui |
| int | $scormlmid |
| bool | $selfassessmentmode |
| ilAccessHandler | $access |
| ilTabsGUI | $tabs |
| ilObjUser | $user |
| ilTree | $tree |
| ilToolbarGUI | $toolbar |
Protected Attributes inherited from ilPageContentGUI | |
| 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 |
| 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 = "" |
| php4DOMDocument | $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 () | |
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 = "" |
||
| ) |
Reimplemented from ilPageContentGUI.
Definition at line 35 of file class.ilPCQuestionGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__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 480 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 195 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 341 of file class.ilPCQuestionGUI.php.
References $name, $tree, and ilTree\getParentId().
Here is the call graph for this function:| ilPCQuestionGUI::edit | ( | ) |
edit question
Definition at line 244 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 61 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 306 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 89 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 123 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(), setInsertTabs(), 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 412 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 452 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 424 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 443 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 94 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 233 of file class.ilPCQuestionGUI.php.
| ilPCQuestionGUI::setSelfAssessmentMode | ( | bool | $a_selfassessmentmode | ) |
Definition at line 84 of file class.ilPCQuestionGUI.php.
| ilPCQuestionGUI::setTabs | ( | ) |
Definition at line 358 of file class.ilPCQuestionGUI.php.
References ilPageContentGUI\$ctrl, $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 29 of file class.ilPCQuestionGUI.php.
Referenced by insertFromPool().
|
protected |
Definition at line 26 of file class.ilPCQuestionGUI.php.
|
protected |
Definition at line 27 of file class.ilPCQuestionGUI.php.
|
protected |
Definition at line 28 of file class.ilPCQuestionGUI.php.
Referenced by getSelfAssessmentMode().
|
protected |
Definition at line 30 of file class.ilPCQuestionGUI.php.
Referenced by edit(), feedback(), setInsertTabs(), and setTabs().
|
protected |
Definition at line 33 of file class.ilPCQuestionGUI.php.
Referenced by listPoolQuestions().
|
protected |
Definition at line 32 of file class.ilPCQuestionGUI.php.
Referenced by createQuestionPool().
|
protected |
Definition at line 31 of file class.ilPCQuestionGUI.php.