|
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...
Collaboration diagram for ilSurveyPageEditGUI:Public Member Functions | |
| __construct (ilObjSurvey $a_survey, ilSurveyEditorGUI $a_survey_editor_gui) | |
| executeCommand () | |
| determineCurrentPage () | |
| insertNewQuestion (int $a_new_id) | |
| Add new question to survey. More... | |
| insertQuestionBlock (int $a_block_id) | |
| Copy and insert questions from block. More... | |
| getPageNodes (array $a_questions, bool $a_has_previous_page=false, bool $a_has_next_page=false, bool $a_readonly=false) | |
| renderPageNode (ilTemplate $a_tpl, string $a_type, string $a_id, ?string $a_content=null, ?array $a_menu=null, bool $a_spacer=false, string $a_subtitle="", ?string $a_status=null, ?string $a_heading=null) | |
| Render single node of dnd page view. More... | |
| getAutoBlockTitle () | |
| Get name for newly created blocks. More... | |
| addPoolQuestion (string $pos, string $node) | |
| printViewSelection () | |
Protected Member Functions | |
| appendNewQuestionToSurvey (int $a_new_id, bool $a_duplicate=true, bool $a_force_duplicate=false) | |
| Add new question to survey (database part) More... | |
| addQuestion (int $a_type, bool $a_use_pool, string $a_pos, string $a_special_position) | |
| Call add question to survey form. More... | |
| cutQuestion (int $a_id) | |
| Add question to be cut to clipboard. More... | |
| copyQuestion (int $a_id) | |
| Add question to be copied to clipboard. More... | |
| multiCut (array $a_id) | |
| Add questions to be cut to clipboard. More... | |
| multiCopy (array $a_id) | |
| Add questions to be copied to clipboard. More... | |
| clearClipboard () | |
| Empty clipboard. More... | |
| paste (int $a_id) | |
| Paste from clipboard. More... | |
| dnd () | |
| Move questions in page. More... | |
| deleteBlock () | |
| Confirm removing question block. More... | |
| deleteQuestion (array $a_id) | |
| Confirm removing question(s) from survey. More... | |
| confirmRemoveQuestions () | |
| Remove question(s) from survey. More... | |
| editBlock (int $a_id) | |
| Edit question block. More... | |
| addHeading (int $a_id) | |
| Add heading to question. More... | |
| editHeading (int $a_id) | |
| Edit question heading. More... | |
| deleteHeading (int $a_id) | |
| Delete question heading. More... | |
| callEditor (string $a_cmd, string $a_param, string $a_value) | |
| splitPage (int $a_id) | |
| Split current page in 2 pages. More... | |
| moveNext (int $a_id) | |
| Move question to next page. More... | |
| movePrevious (int $a_id) | |
| Move question to previous page. More... | |
| editQuestion (int $a_id) | |
| addQuestionToolbarForm () | |
| Add question to survey form (used in toolbar) More... | |
| addQuestionToolbar () | |
| Add question to survey action (used in toolbar) More... | |
| movePageForm () | |
| Move current page. More... | |
| movePage () | |
| Move current page to new position. More... | |
| renderToolbar (?array $a_pages) | |
| Render toolbar form. More... | |
| renderPage () | |
| render questions per page More... | |
Protected Attributes | |
| ILIAS Survey PrintView GUIService | |
| ILIAS HTTP Services | $http |
| ILIAS DI UIServices | $ui |
| bool | $suppress_clipboard_msg = false |
| string | $pgov |
| ILIAS Survey Editing EditingGUIRequest | $svy_request |
| ILIAS Survey Editing EditManager | $edit_manager |
| ilCtrl | $ctrl |
| ilRbacSystem | $rbacsystem |
| ilDBInterface | $db |
| ilTabsGUI | $tabs |
| ilGlobalTemplateInterface | $tpl |
| ilToolbarGUI | $toolbar |
| ilObjUser | $user |
| int | $ref_id |
| ilLanguage | $lng |
| ilObjSurvey | $object |
| ilSurveyEditorGUI | $editor_gui |
| int | $current_page = null |
| bool | $has_previous_page |
| bool | $has_next_page |
| bool | $has_datasets |
| bool | $use_pool |
| ilLogger | $log |
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 Survey per page view
Definition at line 25 of file class.ilSurveyPageEditGUI.php.
| ilSurveyPageEditGUI::__construct | ( | ilObjSurvey | $a_survey, |
| ilSurveyEditorGUI | $a_survey_editor_gui | ||
| ) |
Definition at line 52 of file class.ilSurveyPageEditGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ilLoggerFactory\getLogger(), ilObject\getRefId(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), ILIAS\Repository\ui(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Add heading to question.
Definition at line 829 of file class.ilSurveyPageEditGUI.php.
| ilSurveyPageEditGUI::addPoolQuestion | ( | string | $pos, |
| string | $node | ||
| ) |
Definition at line 1749 of file class.ilSurveyPageEditGUI.php.
|
protected |
Call add question to survey form.
| int | $a_type | question type |
| bool | $a_use_pool | add question to pool |
| int | $a_pos | target position |
| string | $a_special_position | special positions (toolbar | page_end) |
| ilCtrlException |
Definition at line 398 of file class.ilSurveyPageEditGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:
|
protected |
Add question to survey action (used in toolbar)
Definition at line 1092 of file class.ilSurveyPageEditGUI.php.
References $lng.
|
protected |
Add question to survey form (used in toolbar)
Definition at line 1036 of file class.ilSurveyPageEditGUI.php.
References $lng, $tpl, ilObjSurveyQuestionPool\_getQuestiontypes(), and ILIAS\Repository\object().
Here is the call graph for this function:
|
protected |
Add new question to survey (database part)
Definition at line 210 of file class.ilSurveyPageEditGUI.php.
|
protected |
Definition at line 850 of file class.ilSurveyPageEditGUI.php.
|
protected |
Empty clipboard.
Definition at line 551 of file class.ilSurveyPageEditGUI.php.
|
protected |
Remove question(s) from survey.
Definition at line 768 of file class.ilSurveyPageEditGUI.php.
References $source.
|
protected |
Add question to be copied to clipboard.
Definition at line 490 of file class.ilSurveyPageEditGUI.php.
References $lng.
|
protected |
Add question to be cut to clipboard.
Definition at line 472 of file class.ilSurveyPageEditGUI.php.
References $lng.
|
protected |
Confirm removing question block.
Definition at line 727 of file class.ilSurveyPageEditGUI.php.
References $lng.
|
protected |
Delete question heading.
Definition at line 845 of file class.ilSurveyPageEditGUI.php.
|
protected |
Confirm removing question(s) from survey.
| array | $a_id |
| ilCtrlException |
Definition at line 758 of file class.ilSurveyPageEditGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:| ilSurveyPageEditGUI::determineCurrentPage | ( | ) |
Definition at line 184 of file class.ilSurveyPageEditGUI.php.
References $current_page, $pgov, and ILIAS\Repository\int().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Move questions in page.
Definition at line 704 of file class.ilSurveyPageEditGUI.php.
References $target_arr, $target_id, and ILIAS\Repository\int().
Here is the call graph for this function:
|
protected |
Edit question block.
Definition at line 821 of file class.ilSurveyPageEditGUI.php.
|
protected |
Edit question heading.
Definition at line 837 of file class.ilSurveyPageEditGUI.php.
|
protected |
Definition at line 1019 of file class.ilSurveyPageEditGUI.php.
References $data.
| ilSurveyPageEditGUI::executeCommand | ( | ) |
Definition at line 88 of file class.ilSurveyPageEditGUI.php.
References $ctrl, $current_page, $id, $lng, $rbacsystem, $type, addQuestion(), ilRbacSystem\checkAccess(), deleteQuestion(), determineCurrentPage(), insertNewQuestion(), ILIAS\Repository\int(), ILIAS\Repository\object(), and ilLanguage\txt().
Here is the call graph for this function:| ilSurveyPageEditGUI::getAutoBlockTitle | ( | ) |
Get name for newly created blocks.
Definition at line 1743 of file class.ilSurveyPageEditGUI.php.
References $lng.
| ilSurveyPageEditGUI::getPageNodes | ( | array | $a_questions, |
| bool | $a_has_previous_page = false, |
||
| bool | $a_has_next_page = false, |
||
| bool | $a_readonly = false |
||
| ) |
| ilCtrlException |
Definition at line 1470 of file class.ilSurveyPageEditGUI.php.
| ilSurveyPageEditGUI::insertNewQuestion | ( | int | $a_new_id | ) |
Add new question to survey.
Definition at line 257 of file class.ilSurveyPageEditGUI.php.
References $lng.
Referenced by executeCommand().
Here is the caller graph for this function:| ilSurveyPageEditGUI::insertQuestionBlock | ( | int | $a_block_id | ) |
Copy and insert questions from block.
Definition at line 320 of file class.ilSurveyPageEditGUI.php.
|
protected |
Move question to next page.
Definition at line 916 of file class.ilSurveyPageEditGUI.php.
References $source, and $target_id.
|
protected |
Move current page to new position.
Definition at line 1165 of file class.ilSurveyPageEditGUI.php.
References $lng.
|
protected |
Move current page.
Definition at line 1120 of file class.ilSurveyPageEditGUI.php.
|
protected |
Move question to previous page.
Definition at line 970 of file class.ilSurveyPageEditGUI.php.
References $source, and $target_id.
|
protected |
Add questions to be copied to clipboard.
| int[] | $a_id | question ids |
Definition at line 531 of file class.ilSurveyPageEditGUI.php.
References $lng.
|
protected |
Add questions to be cut to clipboard.
| int[] | $a_id | question ids |
Definition at line 510 of file class.ilSurveyPageEditGUI.php.
References $lng.
|
protected |
Paste from clipboard.
| int | $a_id | target position |
Definition at line 560 of file class.ilSurveyPageEditGUI.php.
References $source, ilObjSurvey\_instanciateQuestion(), and ILIAS\Repository\object().
Here is the call graph for this function:| ilSurveyPageEditGUI::printViewSelection | ( | ) |
Definition at line 1771 of file class.ilSurveyPageEditGUI.php.
|
protected |
render questions per page
Alex Killing, 27 July 2018 I removed a line $tpl->addJavascript("./Services/RTE/tiny_mce_.../tiny_mce_src.js"); at the end of this function. Currently I have no idea when this tiny will be presented... Maybe a bug will come out of this during 5.4 testing
Definition at line 1351 of file class.ilSurveyPageEditGUI.php.
References $lng, $tpl, ilObjAdvancedEditing\_getUsedHTMLTags(), ilObjSurvey\_hasDatasets(), ilGlyphGUI\ADD, ilRbacSystem\checkAccess(), ilGlyphGUI\DRAG, ilGlyphGUI\get(), ilUtil\getImagePath(), ilYuiUtil\initDragDrop(), ILIAS\Repository\object(), and ilTinyMCE\removeRedundantSeparators().
Here is the call graph for this function:| ilSurveyPageEditGUI::renderPageNode | ( | ilTemplate | $a_tpl, |
| string | $a_type, | ||
| string | $a_id, | ||
| ?string | $a_content = null, |
||
| ?array | $a_menu = null, |
||
| bool | $a_spacer = false, |
||
| string | $a_subtitle = "", |
||
| ?string | $a_status = null, |
||
| ?string | $a_heading = null |
||
| ) |
Render single node of dnd page view.
Definition at line 1634 of file class.ilSurveyPageEditGUI.php.
References $url, ilGlyphGUI\ADD, ilGlyphGUI\get(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:
|
protected |
Render toolbar form.
Definition at line 1207 of file class.ilSurveyPageEditGUI.php.
References $ilUser, $lng, $url, ILIAS\Repository\ctrl(), ilLinkButton\getInstance(), ILIAS\Repository\int(), and ILIAS\Repository\object().
Here is the call graph for this function:
|
protected |
Split current page in 2 pages.
Definition at line 870 of file class.ilSurveyPageEditGUI.php.
|
protected |
Definition at line 34 of file class.ilSurveyPageEditGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 45 of file class.ilSurveyPageEditGUI.php.
Referenced by determineCurrentPage(), and executeCommand().
|
protected |
Definition at line 36 of file class.ilSurveyPageEditGUI.php.
|
protected |
Definition at line 33 of file class.ilSurveyPageEditGUI.php.
|
protected |
Definition at line 44 of file class.ilSurveyPageEditGUI.php.
|
protected |
Definition at line 48 of file class.ilSurveyPageEditGUI.php.
|
protected |
Definition at line 47 of file class.ilSurveyPageEditGUI.php.
|
protected |
Definition at line 46 of file class.ilSurveyPageEditGUI.php.
|
protected |
Definition at line 28 of file class.ilSurveyPageEditGUI.php.
|
protected |
Definition at line 42 of file class.ilSurveyPageEditGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 50 of file class.ilSurveyPageEditGUI.php.
|
protected |
Definition at line 43 of file class.ilSurveyPageEditGUI.php.
|
protected |
Definition at line 31 of file class.ilSurveyPageEditGUI.php.
Referenced by determineCurrentPage().
|
protected |
Definition at line 27 of file class.ilSurveyPageEditGUI.php.
|
protected |
Definition at line 35 of file class.ilSurveyPageEditGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 41 of file class.ilSurveyPageEditGUI.php.
|
protected |
Definition at line 30 of file class.ilSurveyPageEditGUI.php.
|
protected |
Definition at line 32 of file class.ilSurveyPageEditGUI.php.
|
protected |
Definition at line 37 of file class.ilSurveyPageEditGUI.php.
|
protected |
Definition at line 39 of file class.ilSurveyPageEditGUI.php.
|
protected |
Definition at line 38 of file class.ilSurveyPageEditGUI.php.
|
protected |
Definition at line 29 of file class.ilSurveyPageEditGUI.php.
|
protected |
Definition at line 49 of file class.ilSurveyPageEditGUI.php.
|
protected |
Definition at line 40 of file class.ilSurveyPageEditGUI.php.