|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Collaboration diagram for ILIAS\Containter\Content\ObjectiveRenderer:Public Member Functions | |
| renderObjectives () | |
| getContent () | |
| showObjectives (bool $a_is_order=false) | |
Static Public Member Functions | |
| 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 meter. 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 |
| const | CHECKBOX_NONE = 0 |
| const | CHECKBOX_ADMIN = 1 |
| const | CHECKBOX_DOWNLOAD = 2 |
Protected Member Functions | |
| renderTest (int $a_test_ref_id, ?int $a_objective_id, bool $a_is_initial=false) | |
| renderObjective (int $a_objective_id, bool &$a_has_lo_page, \ilAccordionGUI $a_accordion=null, array $a_lo_result=null) | |
| 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 Attributes | |
| array | $rendered_items |
| ilCourseObjectiveListGUI | $objective_list_gui |
| ilLanguage | $lng |
| ILIAS Container StandardGUIRequest | $request |
| ILIAS Style Content Object ObjectFacade | $content_style_domain |
| ilLOTestAssignments | $test_assignments |
| ilContainerRenderer | $renderer |
| ilLOSettings | $loc_settings |
| ilContainerGUI | $container_gui |
| ilContainer | $container |
| string | $view_mode |
| InternalGUIService | $gui |
| InternalDomainService | $domain |
| array | $list_gui = [] |
| string | $output_html = "" |
Definition at line 30 of file class.ObjectiveRenderer.php.
|
protected |
Definition at line 1031 of file class.ObjectiveRenderer.php.
Referenced by ILIAS\Containter\Content\ObjectiveRenderer\renderObjective().
Here is the caller graph for this function:
|
protected |
Definition at line 900 of file class.ObjectiveRenderer.php.
References $DIC, ilCourseObjective\getDescription(), ilCourseObjective\getObjectiveId(), ilLOUtils\getTestResultLinkForUser(), ilCourseObjective\getTitle(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilLOUserResults\TYPE_INITIAL, ilLOUserResults\TYPE_QUALIFIED, and ilLOUserResults\TYPE_UNDEFINED.
Referenced by ILIAS\Containter\Content\ObjectiveRenderer\renderObjective().
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 788 of file class.ObjectiveRenderer.php.
References $DIC, ilLOSettings\getInstanceByObjId(), ilLOUtils\getTestResultLinkForUser(), ILIAS\Repository\int(), ilLOUserResults\STATUS_COMPLETED, ilLOUserResults\TYPE_INITIAL, ilLOUserResults\TYPE_QUALIFIED, and ilLOSettings\TYPE_TEST_QUALIFIED.
Here is the call graph for this function:| ILIAS\Containter\Content\ObjectiveRenderer::getContent | ( | ) |
Definition at line 149 of file class.ObjectiveRenderer.php.
References ILIAS\Containter\Content\ObjectiveRenderer\$output_html.
|
static |
Get objective result summary.
Definition at line 733 of file class.ObjectiveRenderer.php.
References $DIC, ilLOSettings\getInstanceByObjId(), ILIAS\Repository\int(), ilLOUserResults\STATUS_COMPLETED, ilLOUserResults\TYPE_INITIAL, and ilLOUserResults\TYPE_QUALIFIED.
Here is the call graph for this function:
|
protected |
Definition at line 606 of file class.ObjectiveRenderer.php.
References $res, ilLOTestAssignments\getInstance(), ilLOUserResults\TYPE_INITIAL, ilLOUserResults\TYPE_QUALIFIED, ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by ILIAS\Containter\Content\ObjectiveRenderer\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 |
Definition at line 413 of file class.ObjectiveRenderer.php.
References ilPageUtil\_existsAndNotEmpty(), ilObject\_lookupObjId(), ilLMObject\_lookupTitle(), ILIAS\Containter\Content\ObjectiveRenderer\buildAccordionContent(), ILIAS\Containter\Content\ObjectiveRenderer\buildAccordionTitle(), ilObjTestAccess\checkCondition(), ilObjectActivation\getItemsByObjective(), ilConditionHandler\OPERATOR_FINISHED, ILIAS\Containter\Content\ObjectiveRenderer\renderTest(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by ILIAS\Containter\Content\ObjectiveRenderer\showObjectives().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Containter\Content\ObjectiveRenderer::renderObjectives | ( | ) |
Definition at line 86 of file class.ObjectiveRenderer.php.
References ILIAS\Containter\Content\ObjectiveRenderer\$output_html, ilObject\_lookupObjId(), ilObjTestAccess\checkCondition(), ilLOSettings\getInstanceByObjId(), ilLOUserResults\hasResults(), ilConditionHandler\OPERATOR_FINISHED, ILIAS\Containter\Content\ObjectiveRenderer\renderTest(), ILIAS\Containter\Content\ObjectiveRenderer\showButton(), and ILIAS\Containter\Content\ObjectiveRenderer\showObjectives().
Here is the call graph for this function:
|
static |
Render progress meter.
| 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 660 of file class.ObjectiveRenderer.php.
References $DIC, ilTooltipGUI\addTooltip(), and ilLinkButton\getInstance().
Here is the call graph for this function:
|
protected |
Definition at line 223 of file class.ObjectiveRenderer.php.
References ilObject\_lookupObjId(), ilObject\_lookupTitle(), and ilCourseObjective\lookupObjectiveTitle().
Referenced by ILIAS\Containter\Content\ObjectiveRenderer\renderObjective(), and ILIAS\Containter\Content\ObjectiveRenderer\renderObjectives().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1042 of file class.ObjectiveRenderer.php.
Referenced by ILIAS\Containter\Content\ObjectiveRenderer\renderObjectives(), and ILIAS\Containter\Content\ObjectiveRenderer\showObjectives().
Here is the caller graph for this function:| ILIAS\Containter\Content\ObjectiveRenderer::showObjectives | ( | bool | $a_is_order = false | ) |
Definition at line 154 of file class.ObjectiveRenderer.php.
References $ilSetting, ilCourseObjective\_getObjectiveIds(), ilAccordionGUI\FIRST_OPEN, ilLOSettings\getInstanceByObjId(), ilLOUtils\hasActiveRun(), ILIAS\Containter\Content\ObjectiveRenderer\parseLOUserResults(), ILIAS\Containter\Content\ObjectiveRenderer\renderObjective(), ILIAS\Containter\Content\ObjectiveRenderer\showButton(), and ilLOSettings\TYPE_TEST_INITIAL.
Referenced by ILIAS\Containter\Content\ObjectiveRenderer\renderObjectives().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 48 of file class.ObjectiveRenderer.php.
|
protected |
Definition at line 47 of file class.ObjectiveRenderer.php.
|
protected |
Definition at line 42 of file class.ObjectiveRenderer.php.
|
protected |
Definition at line 51 of file class.ObjectiveRenderer.php.
|
protected |
Definition at line 50 of file class.ObjectiveRenderer.php.
|
protected |
Definition at line 52 of file class.ObjectiveRenderer.php.
|
protected |
Definition at line 40 of file class.ObjectiveRenderer.php.
|
protected |
Definition at line 45 of file class.ObjectiveRenderer.php.
|
protected |
Definition at line 39 of file class.ObjectiveRenderer.php.
|
protected |
Definition at line 53 of file class.ObjectiveRenderer.php.
Referenced by ILIAS\Containter\Content\ObjectiveRenderer\getContent(), and ILIAS\Containter\Content\ObjectiveRenderer\renderObjectives().
|
protected |
Definition at line 38 of file class.ObjectiveRenderer.php.
|
protected |
Definition at line 44 of file class.ObjectiveRenderer.php.
|
protected |
Definition at line 41 of file class.ObjectiveRenderer.php.
|
protected |
Definition at line 43 of file class.ObjectiveRenderer.php.
|
protected |
Definition at line 49 of file class.ObjectiveRenderer.php.
| const ILIAS\Containter\Content\ObjectiveRenderer::CHECKBOX_ADMIN = 1 |
Definition at line 36 of file class.ObjectiveRenderer.php.
| const ILIAS\Containter\Content\ObjectiveRenderer::CHECKBOX_DOWNLOAD = 2 |
Definition at line 37 of file class.ObjectiveRenderer.php.
| const ILIAS\Containter\Content\ObjectiveRenderer::CHECKBOX_NONE = 0 |
Definition at line 35 of file class.ObjectiveRenderer.php.
| const ILIAS\Containter\Content\ObjectiveRenderer::MATERIALS_OTHER = 2 |
Definition at line 33 of file class.ObjectiveRenderer.php.
| const ILIAS\Containter\Content\ObjectiveRenderer::MATERIALS_TESTS = 1 |
Definition at line 32 of file class.ObjectiveRenderer.php.