ILIAS
trunk Revision v11.0_alpha-1871-gde1fee8db3d
|
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 1025 of file class.ObjectiveRenderer.php.
Referenced by ILIAS\Containter\Content\ObjectiveRenderer\renderObjective().
|
protected |
Definition at line 894 of file class.ObjectiveRenderer.php.
References $DIC, ilCourseObjective\getDescription(), ilCourseObjective\getObjectiveId(), ilLOUtils\getTestResultLinkForUser(), ilCourseObjective\getTitle(), ILIAS\Repository\int(), ILIAS\Repository\lng(), null, ilLOUserResults\TYPE_INITIAL, ilLOUserResults\TYPE_QUALIFIED, and ilLOUserResults\TYPE_UNDEFINED.
Referenced by ILIAS\Containter\Content\ObjectiveRenderer\renderObjective().
|
static |
Render progressbar(s) for given objective and result data.
Definition at line 782 of file class.ObjectiveRenderer.php.
References $DIC, ilLOSettings\getInstanceByObjId(), ilLOUtils\getTestResultLinkForUser(), ILIAS\Repository\int(), null, ilLOUserResults\STATUS_COMPLETED, ilLOUserResults\TYPE_INITIAL, ilLOUserResults\TYPE_QUALIFIED, and ilLOSettings\TYPE_TEST_QUALIFIED.
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 727 of file class.ObjectiveRenderer.php.
References $DIC, ilLOSettings\getInstanceByObjId(), ILIAS\Repository\int(), null, ilLOUserResults\STATUS_COMPLETED, ilLOUserResults\TYPE_INITIAL, and ilLOUserResults\TYPE_QUALIFIED.
|
protected |
Definition at line 605 of file class.ObjectiveRenderer.php.
References $res, ilLOTestAssignments\getInstance(), null, ilLOUserResults\TYPE_INITIAL, ilLOUserResults\TYPE_QUALIFIED, ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by ILIAS\Containter\Content\ObjectiveRenderer\showObjectives().
|
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 412 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(), null, ilConditionHandler\OPERATOR_FINISHED, renderer(), ILIAS\Containter\Content\ObjectiveRenderer\renderTest(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by ILIAS\Containter\Content\ObjectiveRenderer\showObjectives().
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(), null, ilConditionHandler\OPERATOR_FINISHED, ILIAS\Containter\Content\ObjectiveRenderer\renderTest(), ILIAS\Containter\Content\ObjectiveRenderer\showButton(), and ILIAS\Containter\Content\ObjectiveRenderer\showObjectives().
|
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 | (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 659 of file class.ObjectiveRenderer.php.
References $DIC, and ilLinkButton\getInstance().
|
protected |
Definition at line 223 of file class.ObjectiveRenderer.php.
References ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilCourseObjective\lookupObjectiveTitle(), and renderer().
Referenced by ILIAS\Containter\Content\ObjectiveRenderer\renderObjective(), and ILIAS\Containter\Content\ObjectiveRenderer\renderObjectives().
|
protected |
Definition at line 1036 of file class.ObjectiveRenderer.php.
References null.
Referenced by ILIAS\Containter\Content\ObjectiveRenderer\renderObjectives(), and ILIAS\Containter\Content\ObjectiveRenderer\showObjectives().
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(), null, ILIAS\Containter\Content\ObjectiveRenderer\parseLOUserResults(), renderer(), ILIAS\Containter\Content\ObjectiveRenderer\renderObjective(), ILIAS\Containter\Content\ObjectiveRenderer\showButton(), and ilLOSettings\TYPE_TEST_INITIAL.
Referenced by ILIAS\Containter\Content\ObjectiveRenderer\renderObjectives().
|
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.
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.