|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 $container_gui_obj, \ILIAS\Container\Content\ItemPresentationManager $item_presentation) | |
| getTestAssignments () | |
| getSettings () | |
| getMainContent () | |
| Get content HTML for main column, this one may be overwritten in derived classes. More... | |
| initRenderer () | |
| Init container renderer. More... | |
| renderItemList () | |
| 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 may 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="") | |
| 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 |
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 () | |
| Stays in ContainergGUI, needed for addItemDetails. More... | |
| addItemDetails (ilObjectListGUI $a_item_list_gui, array $a_item) | |
| Stays in ContainergGUI, inject in renderer. More... | |
| 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 () | |
| getRightColumnHTML () | |
| getCenterColumnHTML () | |
| initRenderer () | |
| Init container renderer. More... | |
| getItemGUI (array $item_data) | |
| hasForcedOrderByStartDate (string $type) | |
| getUniqueItemId (array $a_item_data) | |
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 | $container_gui_obj, |
| \ILIAS\Container\Content\ItemPresentationManager | $item_presentation | ||
| ) |
Definition at line 43 of file class.ilContainerObjectiveGUI.php.
References $DIC, ilContainerContentGUI\$item_presentation, ILIAS\GlobalScreen\Provider\__construct(), initTestAssignments(), ILIAS\Repository\logger(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
Here is the call graph for this function:
|
protected |
Stays in ContainergGUI, inject in renderer.
Definition at line 475 of file class.ilContainerObjectiveGUI.php.
References $lng, $res, $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.
Referenced by initRenderer().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1322 of file class.ilContainerObjectiveGUI.php.
|
protected |
Definition at line 1191 of file class.ilContainerObjectiveGUI.php.
|
protected |
Stays in ContainergGUI, needed for addItemDetails.
Definition at line 430 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.
Referenced by initRenderer().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Render progressbar(s) for given objective and result data.
Definition at line 1081 of file class.ilContainerObjectiveGUI.php.
|
protected |
Definition at line 73 of file class.ilContainerObjectiveGUI.php.
References ilContainerContentGUI\DETAILS_ALL.
| ilContainerObjectiveGUI::getMainContent | ( | ) |
Get content HTML for main column, this one may be overwritten in derived classes.
Reimplemented from ilContainerContentGUI.
Definition at line 79 of file class.ilContainerObjectiveGUI.php.
References ilContainerContentGUI\$access, ilContainerContentGUI\$ctrl, ilContainerContentGUI\$lng, ilContainerContentGUI\$tpl, ilContainerContentGUI\$user, ilObject\_lookupObjId(), ilConditionHandling\checkCondition(), ILIAS\UICore\GlobalTemplate\get(), ilContainerContentGUI\getContainerGUI(), ilContainerContentGUI\getContainerObject(), ILIAS\Survey\Mode\getId(), ilLOSettings\getInstanceByObjId(), ilLOUserResults\hasResults(), initRenderer(), ilConditionHandler\OPERATOR_FINISHED, renderTest(), ILIAS\UICore\GlobalTemplate\setVariable(), showButton(), showMaterials(), showObjectives(), and ilLanguage\txt().
Here is the call graph for this function:
|
static |
Get objective result summary.
Definition at line 1030 of file class.ilContainerObjectiveGUI.php.
| ilContainerObjectiveGUI::getSettings | ( | ) |
Definition at line 68 of file class.ilContainerObjectiveGUI.php.
References $loc_settings.
| ilContainerObjectiveGUI::getTestAssignments | ( | ) |
Definition at line 63 of file class.ilContainerObjectiveGUI.php.
References $test_assignments.
| ilContainerObjectiveGUI::initRenderer | ( | ) |
Init container renderer.
Reimplemented from ilContainerContentGUI.
Definition at line 163 of file class.ilContainerObjectiveGUI.php.
References addItemDetails(), buildObjectiveMap(), ilContainerContentGUI\getContainerObject(), ILIAS\Survey\Mode\getId(), ilLOSettings\getInstanceByObjId(), and renderer().
Referenced by getMainContent(), and renderItemList().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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 $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:| ilContainerObjectiveGUI::renderItemList | ( | ) |
Definition at line 173 of file class.ilContainerObjectiveGUI.php.
References initRenderer(), and renderer().
Here is the call 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 880 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 | (deprecated, does not seem to be used) |
| string | null | $a_tt_txt | (deprecated, does not seem to be used) |
| string | null | $a_next_step | |
| bool | $a_sub | |
| int | $a_sub_style | |
| string | $a_main_text | |
| string | $a_required_text |
Definition at line 961 of file class.ilContainerObjectiveGUI.php.
|
protected |
Definition at line 278 of file class.ilContainerObjectiveGUI.php.
Referenced by getMainContent().
Here is the caller graph for this function:
|
protected |
Definition at line 1333 of file class.ilContainerObjectiveGUI.php.
Referenced by getMainContent(), and showObjectives().
Here is the caller graph for this function:
|
protected |
Definition at line 326 of file class.ilContainerObjectiveGUI.php.
References $lng, ILIAS\Survey\Mode\getId(), ilLOTestAssignments\getInstance(), renderer(), and ilLOSettings\TYPE_TEST_UNDEFINED.
Referenced by getMainContent().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerObjectiveGUI::showObjectives | ( | bool | $a_is_order = false | ) |
Definition at line 179 of file class.ilContainerObjectiveGUI.php.
References $ilSetting, ilContainerContentGUI\$lng, $output_html, ilContainerContentGUI\$settings, ilContainerContentGUI\$tpl, ilCourseObjective\_getObjectiveIds(), ilAccordionGUI\FIRST_OPEN, ilContainerContentGUI\getContainerGUI(), ilContainerContentGUI\getContainerObject(), ilObjStyleSheet\getContentStylePath(), ILIAS\Survey\Mode\getId(), ilLOSettings\getInstanceByObjId(), ilObjStyleSheet\getSyntaxStylePath(), ilLOUtils\hasActiveRun(), ilContainerContentGUI\insertPageEmbeddedBlocks(), ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), parseLOUserResults(), renderer(), renderObjective(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), ILIAS\UICore\GlobalTemplate\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:
|
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 41 of file class.ilContainerObjectiveGUI.php.
|
protected |
Definition at line 35 of file class.ilContainerObjectiveGUI.php.
|
protected |
Definition at line 31 of file class.ilContainerObjectiveGUI.php.
|
protected |
Definition at line 38 of file class.ilContainerObjectiveGUI.php.
Referenced by getSettings().
|
private |
Definition at line 30 of file class.ilContainerObjectiveGUI.php.
|
protected |
Definition at line 36 of file class.ilContainerObjectiveGUI.php.
|
protected |
Definition at line 33 of file class.ilContainerObjectiveGUI.php.
|
private |
Definition at line 39 of file class.ilContainerObjectiveGUI.php.
Referenced by showObjectives().
|
protected |
Definition at line 37 of file class.ilContainerObjectiveGUI.php.
|
protected |
Definition at line 32 of file class.ilContainerObjectiveGUI.php.
|
private |
Definition at line 40 of file class.ilContainerObjectiveGUI.php.
Referenced by getTestAssignments().
|
protected |
Definition at line 34 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.