|
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 ilContainerObjectiveGUI:
Collaboration diagram for ilContainerObjectiveGUI:Public Member Functions | |
| __construct (ilContainerGUI $a_container_gui) | |
| getTestAssignments () | |
| getSettings () | |
| getMainContent () | |
| Get content HTML for main column, this one must be overwritten in derived classes. More... | |
| showStatus () | |
| showObjectives (bool $a_is_order=false) | |
Public Member Functions inherited from ilContainerContentGUI | |
| getContainerObject () | |
| getContainerGUI () | |
| setOutput () | |
| This method sets the output of the right and main column in the global standard template. More... | |
| getMainContent () | |
| Get content HTML for main column, this one must be overwritten in derived classes. More... | |
| determinePageEmbeddedBlocks (string $a_container_page_html) | |
| Determine all blocks that are embedded in the container page. More... | |
| addEmbeddedBlock (string $block_type, $block_parameter) | |
| Add embedded block. More... | |
| getEmbeddedBlocks () | |
| renderPageEmbeddedBlocks () | |
| renderItem (array $a_item_data, int $a_position=0, bool $a_force_icon=false, string $a_pos_prefix="", string $item_group_list_presentation="") | |
| Render an item. More... | |
| renderCard (array $a_item_data, int $a_position=0, bool $a_force_icon=false, string $a_pos_prefix="") | |
| insertPageEmbeddedBlocks (string $a_output_html) | |
| Insert blocks into container page. More... | |
| getSingleTypeBlockAsynch (string $type) | |
| Render single block. More... | |
| getGroupedObjTypes () | |
| Get grouped repository object types. More... | |
| getIntroduction () | |
| getItemGroupsHTML (int $a_pos=0) | |
| renderItemGroup (array $a_itgr) | |
Static Public Member Functions | |
| static | renderProgressBar (int $a_perc_result=null, int $a_perc_limit=null, string $a_css=null, string $a_caption=null, string $a_url=null, string $a_tt_id=null, string $a_tt_txt=null, string $a_next_step=null, bool $a_sub=false, int $a_sub_style=30) |
| Render progress bar(s) More... | |
| static | renderProgressMeter (?int $a_perc_result=null, ?int $a_perc_limit=null, ?int $a_compare_value=null, string $a_caption=null, string $a_url=null, string $a_tt_id=null, string $a_tt_txt=null, string $a_next_step=null, bool $a_sub=false, int $a_sub_style=30, string $a_main_text='', string $a_required_text='') |
| Render progress bar(s) More... | |
| static | getObjectiveResultSummary (bool $a_has_initial_test, int $a_objective_id, ?array $a_lo_result) |
| Get objective result summary. More... | |
| static | buildObjectiveProgressBar (bool $a_has_initial_test, int $a_objective_id, array $a_lo_result, bool $a_list_mode=false, bool $a_sub=false, string $a_tt_suffix=null) |
| Render progressbar(s) for given objective and result data. More... | |
Data Fields | |
| const | MATERIALS_TESTS = 1 |
| const | MATERIALS_OTHER = 2 |
Data Fields inherited from ilContainerContentGUI | |
| const | DETAILS_DEACTIVATED = 0 |
| const | DETAILS_TITLE = 1 |
| const | DETAILS_ALL = 2 |
| const | VIEW_MODE_LIST = 0 |
| const | VIEW_MODE_TILE = 1 |
| ilContainerGUI | $container_gui |
| ilContainer | $container_obj |
| bool | $adminCommands = false |
Protected Member Functions | |
| getDetailsLevel (int $a_item_id) | |
| renderTest (int $a_test_ref_id, int $a_objective_id, bool $a_is_initial=false) | |
| showMaterials (int $a_mode=null, bool $a_is_manage=false, bool $a_as_accordion=false) | |
| buildObjectiveMap () | |
| addItemDetails (ilObjectListGUI $a_item_list_gui, array $a_item) | |
| updateResult (array $a_res, int $a_item_ref_id, int $a_objective_id, int $a_user_id) | |
| renderObjective (int $a_objective_id, bool &$a_has_lo_page, ilAccordionGUI $a_accordion=null, array $a_lo_result=null) | |
| initTestAssignments () | |
| parseLOUserResults () | |
| buildAccordionTitle (ilCourseObjective $a_objective, array $a_lo_result=null) | |
| buildAccordionContent (array $a_items) | |
| showButton (string $a_cmd, string $a_text, string $a_target='', string $a_id="") | |
Protected Member Functions inherited from ilContainerContentGUI | |
| getViewMode () | |
| getDetailsLevel (int $a_item_id) | |
| getRightColumnHTML () | |
| getCenterColumnHTML () | |
| initRenderer () | |
| Init container renderer. More... | |
| clearAdminCommandsDetermination () | |
| determineAdminCommands (int $a_ref_id, bool $a_admin_com_included_in_list=false) | |
| getItemGUI (array $item_data) | |
| hasForcedOrderByStartDate (string $type) | |
| handleSessionExpand () | |
Protected Attributes | |
| ilTabsGUI | $tabs |
| array | $objective_map = [] |
| ilToolbarGUI | $toolbar |
| int | $force_details = 0 |
| ilCourseObjectiveListGUI | $objective_list_gui |
| array | $rendered_items = [] |
| ilLOSettings | $loc_settings |
| ILIAS Style Content Object ObjectFacade | $content_style_domain |
Protected Attributes inherited from ilContainerContentGUI | |
| ilGlobalTemplateInterface | $tpl |
| ilCtrl | $ctrl |
| ilObjUser | $user |
| ilLanguage | $lng |
| ilAccessHandler | $access |
| ilDBInterface | $db |
| ilRbacSystem | $rbacsystem |
| ilSetting | $settings |
| ilObjectDefinition | $obj_definition |
| int | $details_level = self::DETAILS_DEACTIVATED |
| ilContainerRenderer | $renderer |
| ilLogger | $log |
| int | $view_mode |
| array | $embedded_block = [] |
| array | $items = [] |
| array | $list_gui = [] |
| ClipboardManager | $clipboard |
| StandardGUIRequest | $request |
| ItemManager | $item_manager |
| BlockSessionRepository | $block_repo |
Private Attributes | |
| ilLogger | $logger |
| string | $output_html = '' |
| ilLOTestAssignments | $test_assignments = null |
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 /** GUI class for course objective view
Definition at line 25 of file class.ilContainerObjectiveGUI.php.
| ilContainerObjectiveGUI::__construct | ( | ilContainerGUI | $a_container_gui | ) |
Definition at line 42 of file class.ilContainerObjectiveGUI.php.
References $DIC, ilContainerContentGUI\$lng, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), initTestAssignments(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ILIAS\Repository\settings(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 473 of file class.ilContainerObjectiveGUI.php.
References ILIAS\LTI\ToolProvider\$details, $ilUser, $lng, $res, $type, $url, ilConditionHandler\_checkAllConditionsOfTarget(), ilObjectListGUI\addCustomProperty(), ilObjectListGUI\disableTitleLink(), ilObjectListGUI\enableCommands(), ilObjectListGUI\enableItemDetailLinks(), ilObjectListGUI\enableProperties(), ILIAS\Survey\Mode\getId(), ILIAS\Repository\lng(), ilCourseObjective\lookupMaxPasses(), ilLOUserResults\lookupResult(), ilObjectListGUI\setConditionTarget(), ilObjectListGUI\setDefaultCommandParameters(), ilObjectListGUI\setItemDetailLinks(), ilLOUserResults\TYPE_QUALIFIED, and ilLOSettings\TYPE_TEST_INITIAL.
Here is the call graph for this function:
|
protected |
Definition at line 1327 of file class.ilContainerObjectiveGUI.php.
References $tpl.
|
protected |
Definition at line 1196 of file class.ilContainerObjectiveGUI.php.
|
protected |
Definition at line 431 of file class.ilContainerObjectiveGUI.php.
References ilCourseObjectiveMaterials\_getAssignedMaterials(), ilCourseObjective\_getObjectiveIds(), ILIAS\Survey\Mode\getId(), ilCourseObjective\lookupObjectiveTitle(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Here is the call graph for this function:
|
static |
Render progressbar(s) for given objective and result data.
Definition at line 1086 of file class.ilContainerObjectiveGUI.php.
Referenced by ilTestLearningObjectivesStatusGUI\renderStatus().
Here is the caller graph for this function:
|
protected |
Reimplemented from ilContainerContentGUI.
Definition at line 78 of file class.ilContainerObjectiveGUI.php.
References ilContainerContentGUI\DETAILS_ALL.
| ilContainerObjectiveGUI::getMainContent | ( | ) |
Get content HTML for main column, this one must be overwritten in derived classes.
Reimplemented from ilContainerContentGUI.
Definition at line 84 of file class.ilContainerObjectiveGUI.php.
References ilContainerContentGUI\$access, ilContainerContentGUI\$ctrl, $ilUser, ilContainerContentGUI\$lng, ilContainerContentGUI\$tpl, ilContainerContentGUI\$user, ilObject\_lookupObjId(), ilObjTestAccess\checkCondition(), ilGlobalTemplateInterface\get(), ilContainerContentGUI\getContainerGUI(), ilContainerContentGUI\getContainerObject(), ILIAS\Survey\Mode\getId(), ilLOSettings\getInstanceByObjId(), ilLOUserResults\hasResults(), ilContainerContentGUI\initRenderer(), ilConditionHandler\OPERATOR_FINISHED, renderTest(), ilGlobalTemplateInterface\setVariable(), showButton(), showMaterials(), showObjectives(), and ilLanguage\txt().
Here is the call graph for this function:
|
static |
Get objective result summary.
Definition at line 1035 of file class.ilContainerObjectiveGUI.php.
| ilContainerObjectiveGUI::getSettings | ( | ) |
Definition at line 73 of file class.ilContainerObjectiveGUI.php.
References $loc_settings.
| ilContainerObjectiveGUI::getTestAssignments | ( | ) |
Definition at line 68 of file class.ilContainerObjectiveGUI.php.
References $test_assignments.
|
protected |
Definition at line 822 of file class.ilContainerObjectiveGUI.php.
References ILIAS\Survey\Mode\getId(), and ilLOTestAssignments\getInstance().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 828 of file class.ilContainerObjectiveGUI.php.
References $ilUser, $res, ILIAS\Survey\Mode\getId(), ilLOTestAssignments\getInstance(), ilLOUserResults\TYPE_INITIAL, ilLOUserResults\TYPE_QUALIFIED, ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by showObjectives().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| int | $a_objective_id | |
| bool | $a_has_lo_page | |
| ilAccordionGUI | null | $a_accordion | if not given, returned as string |
| array | null | $a_lo_result |
| ilTemplateException |
Definition at line 639 of file class.ilContainerObjectiveGUI.php.
Referenced by showObjectives().
Here is the caller graph for this function:
|
static |
Render progress bar(s)
| int | null | $a_perc_result | |
| int | null | $a_perc_limit | |
| string | null | $a_css | |
| string | null | $a_caption | |
| string | null | $a_url | |
| string | null | $a_tt_id | |
| string | null | $a_tt_txt | |
| string | null | $a_next_step | |
| bool | $a_sub | |
| int | $a_sub_style |
Definition at line 879 of file class.ilContainerObjectiveGUI.php.
Referenced by ilStudyProgrammeProgressListGUI\buildProgressBar().
Here is the caller graph for this function:
|
static |
Render progress bar(s)
| int | null | $a_perc_result | |
| int | null | $a_perc_limit | |
| int | null | $a_compare_value | |
| string | null | $a_caption | |
| string | null | $a_url | |
| string | null | $a_tt_id | |
| string | null | $a_tt_txt | |
| string | null | $a_next_step | |
| bool | $a_sub | |
| int | $a_sub_style | |
| string | $a_main_text | |
| string | $a_required_text |
Definition at line 962 of file class.ilContainerObjectiveGUI.php.
|
protected |
Definition at line 280 of file class.ilContainerObjectiveGUI.php.
Referenced by getMainContent().
Here is the caller graph for this function:
|
protected |
Definition at line 1338 of file class.ilContainerObjectiveGUI.php.
Referenced by getMainContent(), and showObjectives().
Here is the caller graph for this function:
|
protected |
Definition at line 328 of file class.ilContainerObjectiveGUI.php.
Referenced by getMainContent().
Here is the caller graph for this function:| ilContainerObjectiveGUI::showObjectives | ( | bool | $a_is_order = false | ) |
Definition at line 178 of file class.ilContainerObjectiveGUI.php.
References $ilSetting, ilContainerContentGUI\$lng, $output_html, ilContainerContentGUI\$settings, ilContainerContentGUI\$tpl, ilCourseObjective\_getObjectiveIds(), ilContainerContentGUI\clearAdminCommandsDetermination(), ilAccordionGUI\FIRST_OPEN, ilContainerContentGUI\getContainerGUI(), ilContainerContentGUI\getContainerObject(), ilObjStyleSheet\getContentStylePath(), ILIAS\Survey\Mode\getId(), ilLOSettings\getInstanceByObjId(), ilObjStyleSheet\getSyntaxStylePath(), ilLOUtils\hasActiveRun(), ilContainerContentGUI\insertPageEmbeddedBlocks(), ilGlobalTemplateInterface\parseCurrentBlock(), parseLOUserResults(), renderObjective(), ilGlobalTemplateInterface\setCurrentBlock(), ilGlobalTemplateInterface\setVariable(), showButton(), ilLanguage\txt(), and ilLOSettings\TYPE_TEST_INITIAL.
Referenced by getMainContent().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerObjectiveGUI::showStatus | ( | ) |
Definition at line 163 of file class.ilContainerObjectiveGUI.php.
References $ilUser, ilContainerContentGUI\$lng, ilContainerContentGUI\$user, ilCourseObjectiveResultCache\getStatus(), ilCourseObjectiveResult\IL_OBJECTIVE_STATUS_EMPTY, and ilLanguage\txt().
Here is the call graph for this function:
|
protected |
Definition at line 604 of file class.ilContainerObjectiveGUI.php.
References ilObject\_lookupObjId(), ilObjTest\isParticipantsLastPassActive(), and ilLOTestRun\lookupRunExistsForObjective().
Here is the call graph for this function:Definition at line 40 of file class.ilContainerObjectiveGUI.php.
|
protected |
Definition at line 34 of file class.ilContainerObjectiveGUI.php.
|
protected |
Definition at line 37 of file class.ilContainerObjectiveGUI.php.
Referenced by getSettings().
|
private |
Definition at line 30 of file class.ilContainerObjectiveGUI.php.
|
protected |
Definition at line 35 of file class.ilContainerObjectiveGUI.php.
|
protected |
Definition at line 32 of file class.ilContainerObjectiveGUI.php.
|
private |
Definition at line 38 of file class.ilContainerObjectiveGUI.php.
Referenced by showObjectives().
|
protected |
Definition at line 36 of file class.ilContainerObjectiveGUI.php.
|
protected |
Definition at line 31 of file class.ilContainerObjectiveGUI.php.
|
private |
Definition at line 39 of file class.ilContainerObjectiveGUI.php.
Referenced by getTestAssignments().
|
protected |
Definition at line 33 of file class.ilContainerObjectiveGUI.php.
| const ilContainerObjectiveGUI::MATERIALS_OTHER = 2 |
Definition at line 28 of file class.ilContainerObjectiveGUI.php.
| const ilContainerObjectiveGUI::MATERIALS_TESTS = 1 |
Definition at line 27 of file class.ilContainerObjectiveGUI.php.