|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
GUI class for course objective view. More...
Inheritance diagram for ilContainerObjectiveGUI:
Collaboration diagram for ilContainerObjectiveGUI:Public Member Functions | |
| __construct ($a_container_gui) | |
| Constructor. More... | |
| getTestAssignments () | |
| Get test assignments object. More... | |
| getSettings () | |
| getDetailsLevel ($a_objective_id) | |
| get details level More... | |
| getMainContent () | |
| Impementation of abstract method getMainContent. More... | |
| showStatus ($tpl) | |
| show status More... | |
| showObjectives ($a_tpl, $a_is_order=false) | |
| show objectives More... | |
| addFooterRow () | |
| add footer row More... | |
| showMaterials ($a_tpl, $a_mode=null, $a_is_manage=false, $a_as_accordion=false) | |
| Show all other (no assigned tests, no assigned materials) materials. More... | |
Public Member Functions inherited from ilContainerContentGUI | |
| __construct (&$container_gui_obj) | |
| Constructor. More... | |
| getContainerObject () | |
| Get container object. More... | |
| getContainerGUI () | |
| Get container GUI object. More... | |
| setOutput () | |
| Sets view output into column layout. More... | |
| getMainContent () | |
| Get content HTML for main column, this one must be overwritten in derived classes. More... | |
| determinePageEmbeddedBlocks ($a_container_page_html) | |
| Determine all blocks that are embedded in the container page. More... | |
| addEmbeddedBlock ($block_type, $block_parameter) | |
| Add embedded block. More... | |
| getEmbeddedBlocks () | |
| Get page embedded blocks. More... | |
| renderPageEmbeddedBlocks () | |
| Render Page Embedded Blocks. More... | |
| renderItem ($a_item_data, $a_position=0, $a_force_icon=false, $a_pos_prefix="") | |
| Render an item. More... | |
| renderCard ($a_item_data, $a_position=0, $a_force_icon=false, $a_pos_prefix="") | |
| Render card. More... | |
| insertPageEmbeddedBlocks ($a_output_html) | |
| Insert blocks into container page. More... | |
| getSingleTypeBlockAsynch ($type) | |
| Render single block. More... | |
| getGroupedObjTypes () | |
| Get grouped repository object types. More... | |
| getIntroduction () | |
| Get introduction. More... | |
| getItemGroupsHTML ($a_pos=0) | |
| Get item groups HTML. More... | |
| renderItemGroup ($a_itgr) | |
| Render item group. More... | |
Static Public Member Functions | |
| static | renderProgressBar ( $a_perc_result=null, $a_perc_limit=null, $a_css=null, $a_caption=null, $a_url=null, $a_tt_id=null, $a_tt_txt=null, $a_next_step=null, $a_sub=false, $a_sub_style=30) |
| Render progress bar(s) More... | |
| static | renderProgressMeter ( $a_perc_result=null, $a_perc_limit=null, $a_compare_value=null, $a_caption=null, $a_url=null, $a_tt_id=null, $a_tt_txt=null, $a_next_step=null, $a_sub=false, $a_sub_style=30, $a_main_text='', $a_required_text='') |
| Render progress bar(s) More... | |
| static | getObjectiveResultSummary ($a_has_initial_test, $a_objective_id, $a_lo_result) |
| Get objective result summary. More... | |
| static | buildObjectiveProgressBar ($a_has_initial_test, $a_objective_id, array $a_lo_result, $a_list_mode=false, $a_sub=false, $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 |
| $container_gui | |
| $container_obj | |
Protected Member Functions | |
| renderTest ($a_test_ref_id, $a_objective_id, $a_is_initial=false, $a_add_border=false, $a_lo_result=array()) | |
| buildObjectiveMap () | |
| addItemDetails (ilObjectListGUI $a_item_list_gui, array $a_item) | |
| updateResult ($a_res, $a_item_ref_id, $a_objective_id, $a_user_id) | |
| renderObjective ($a_objective_id, &$a_has_lo_page, ilAccordionGUI $a_accordion=null, array $a_lo_result=null) | |
| render objective More... | |
| initDetails () | |
| init details More... | |
| initTestAssignments () | |
| parseLOUserResults () | |
| Parse learning objective results. More... | |
| buildAccordionTitle (ilCourseObjective $a_objective, array $a_lo_result=null) | |
| buildAccordionContent (array $a_items) | |
| showButton ($a_cmd, $a_text, $a_target='', $a_id="") | |
| show action button More... | |
Protected Member Functions inherited from ilContainerContentGUI | |
| getViewMode () | |
| Get view mode. More... | |
| getDetailsLevel ($a_item_id) | |
| get details level More... | |
| getRightColumnHTML () | |
| Get HTML for right column. More... | |
| getCenterColumnHTML () | |
| Get HTML for center column. More... | |
| initRenderer () | |
| Init container renderer. More... | |
| clearAdminCommandsDetermination () | |
| cleaer administration commands determination More... | |
| determineAdminCommands ($a_ref_id, $a_admin_com_included_in_list=false) | |
| determin admin commands More... | |
| getItemGUI ($item_data, $a_show_path=false) | |
| Get ListGUI object for item. More... | |
| hasForcedOrderByStartDate (string $type) | |
Protected Attributes | |
| $tabs | |
| $toolbar | |
| $force_details = 0 | |
| $loc_settings | |
Protected Attributes inherited from ilContainerContentGUI | |
| $tpl | |
| $ctrl | |
| $user | |
| $lng | |
| $access | |
| $plugin_admin | |
| $db | |
| $rbacsystem | |
| $settings | |
| $obj_definition | |
| $details_level = self::DETAILS_DEACTIVATED | |
| $renderer | |
| $log | |
| $view_mode | |
Private Attributes | |
| $logger = null | |
| $output_html = '' | |
| $test_assignments = null | |
GUI class for course objective view.
Definition at line 14 of file class.ilContainerObjectiveGUI.php.
| ilContainerObjectiveGUI::__construct | ( | $a_container_gui | ) |
Constructor.
@access public
| object | container gui object |
Definition at line 52 of file class.ilContainerObjectiveGUI.php.
References $DIC, ilContainerContentGUI\$lng, ILIAS\GlobalScreen\Provider\__construct(), initDetails(), initTestAssignments(), settings(), and user().
Here is the call graph for this function:| ilContainerObjectiveGUI::addFooterRow | ( | ) |
add footer row
@access public
return
Definition at line 353 of file class.ilContainerObjectiveGUI.php.
Referenced by showObjectives().
Here is the caller graph for this function:
|
protected |
Definition at line 581 of file class.ilContainerObjectiveGUI.php.
References ilContainerContentGUI\$ctrl, $ilUser, ilContainerContentGUI\$lng, $res, $type, $url, ilContainerContentGUI\$user, ilConditionHandler\_checkAllConditionsOfTarget(), ilObjectListGUI\addCustomProperty(), ilObjectListGUI\disableTitleLink(), ilObjectListGUI\enableCommands(), ilObjectListGUI\enableItemDetailLinks(), ilObjectListGUI\enableProperties(), ilContainerContentGUI\getContainerGUI(), ilContainerContentGUI\getContainerObject(), ilCourseObjective\lookupMaxPasses(), ilLOUserResults\lookupResult(), ilObjectListGUI\setConditionTarget(), ilObjectListGUI\setDefaultCommandParameters(), ilObjectListGUI\setItemDetailLinks(), ilLOUserResults\TYPE_QUALIFIED, ilLOSettings\TYPE_TEST_INITIAL, and updateResult().
Here is the call graph for this function:
|
protected |
Definition at line 1493 of file class.ilContainerObjectiveGUI.php.
References ilContainerContentGUI\$tpl.
Referenced by renderObjective(), and showMaterials().
Here is the caller graph for this function:
|
protected |
| \ilCourseObjective | $a_objective | |
| array | null | $a_lo_result |
Definition at line 1361 of file class.ilContainerObjectiveGUI.php.
References $DIC, ilContainerContentGUI\$renderer, ilContainerContentGUI\$tpl, ilCourseObjective\getDescription(), ilCourseObjective\getObjectiveId(), getObjectiveResultSummary(), ilLOUtils\getTestResultLinkForUser(), ilCourseObjective\getTitle(), ilLOUserResults\TYPE_INITIAL, and ilLOUserResults\TYPE_QUALIFIED.
Referenced by renderObjective().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 535 of file class.ilContainerObjectiveGUI.php.
References ilCourseObjectiveMaterials\_getAssignedMaterials(), ilCourseObjective\_getObjectiveIds(), ilContainerContentGUI\getContainerObject(), ilCourseObjective\lookupObjectiveTitle(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by showMaterials().
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.
| bool | $a_has_initial_test | |
| int | $a_objective_id | |
| bool | $a_lo_result | |
| bool | $a_list_mode | |
| bool | $a_sub | |
| mixed | $a_tt_suffix |
Definition at line 1245 of file class.ilContainerObjectiveGUI.php.
References $DIC, ilContainerContentGUI\$lng, ilLOSettings\getInstanceByObjId(), ilLOUtils\getTestResultLinkForUser(), renderProgressMeter(), ilLOUserResults\STATUS_COMPLETED, ilLOUserResults\TYPE_INITIAL, ilLOUserResults\TYPE_QUALIFIED, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by ilPortfolioPageGUI\renderMyCourses(), and ilTestLearningObjectivesStatusGUI\renderStatus().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerObjectiveGUI::getDetailsLevel | ( | $a_objective_id | ) |
get details level
@access public
return
Reimplemented from ilContainerContentGUI.
Definition at line 98 of file class.ilContainerObjectiveGUI.php.
References ilContainerContentGUI\DETAILS_ALL.
Referenced by renderObjective().
Here is the caller graph for this function:| ilContainerObjectiveGUI::getMainContent | ( | ) |
Impementation of abstract method getMainContent.
@access public
Reimplemented from ilContainerContentGUI.
Definition at line 110 of file class.ilContainerObjectiveGUI.php.
References ilContainerContentGUI\$access, ilContainerContentGUI\$ctrl, $ilUser, ilContainerContentGUI\$lng, $tabs, ilContainerContentGUI\$tpl, ilContainerContentGUI\$user, ilObject\_lookupObjId(), ilObjTestAccess\checkCondition(), ilContainerContentGUI\getContainerGUI(), ilContainerContentGUI\getContainerObject(), ilLOSettings\getInstanceByObjId(), ilLOUserResults\hasResults(), ilContainerContentGUI\initRenderer(), ilConditionHandler\OPERATOR_FINISHED, renderTest(), showButton(), showMaterials(), and showObjectives().
Here is the call graph for this function:
|
static |
Get objective result summary.
| bool | |
| int | |
| array |
Definition at line 1191 of file class.ilContainerObjectiveGUI.php.
References $DIC, ilContainerContentGUI\$lng, ilLOSettings\getInstanceByObjId(), ilLOUserResults\STATUS_COMPLETED, ilLOUserResults\TYPE_INITIAL, and ilLOUserResults\TYPE_QUALIFIED.
Referenced by buildAccordionTitle().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerObjectiveGUI::getSettings | ( | ) |
Definition at line 84 of file class.ilContainerObjectiveGUI.php.
References $loc_settings.
Referenced by renderObjective().
Here is the caller graph for this function:| ilContainerObjectiveGUI::getTestAssignments | ( | ) |
Get test assignments object.
Definition at line 76 of file class.ilContainerObjectiveGUI.php.
References $test_assignments.
Referenced by renderObjective().
Here is the caller graph for this function:
|
protected |
init details
@access protected
return
Definition at line 963 of file class.ilContainerObjectiveGUI.php.
References $ilUser, and ilContainerContentGUI\$user.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Definition at line 971 of file class.ilContainerObjectiveGUI.php.
References ilContainerContentGUI\getContainerObject(), and ilLOTestAssignments\getInstance().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Parse learning objective results.
Definition at line 981 of file class.ilContainerObjectiveGUI.php.
References $ilUser, $res, $result, ilContainerContentGUI\$user, ilContainerContentGUI\getContainerObject(), 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 |
render objective
@access protected
| int | objective id | |
| bool | co page status | |
| ilAccordionGUI | $a_accordion | |
| array | $a_lo_result |
Definition at line 751 of file class.ilContainerObjectiveGUI.php.
References $_GET, $ilUser, ilContainerContentGUI\$lng, ilContainerContentGUI\$user, ilPageUtil\_existsAndNotEmpty(), ilObject\_lookupObjId(), ilLMObject\_lookupTitle(), buildAccordionContent(), buildAccordionTitle(), ilObjTestAccess\checkCondition(), ilContainerContentGUI\getContainerGUI(), ilContainerContentGUI\getContainerObject(), getDetailsLevel(), ilObjStyleSheet\getEffectiveContentStyleId(), ilContainerContentGUI\getItemGUI(), ilObjectActivation\getItemsByObjective(), getSettings(), getTestAssignments(), ilConditionHandler\OPERATOR_FINISHED, renderTest(), 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:
|
static |
Render progress bar(s)
| int | $a_perc_result | |
| int | $a_perc_limit | |
| string | $a_css | |
| string | $a_caption | |
| string | $a_url | |
| string | $a_tt_id | |
| string | $a_tt_txt | |
| string | $a_next_step | |
| string | $a_sub | (html) |
| int | $a_sub_style |
Definition at line 1034 of file class.ilContainerObjectiveGUI.php.
References $DIC, ilContainerContentGUI\$tpl, ilTooltipGUI\addTooltip(), and ilLinkButton\getInstance().
Referenced by ilStudyProgrammeProgressListGUI\buildProgressBar().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Render progress bar(s)
| int | $a_perc_result | |
| int | $a_perc_limit | |
| int | $a_compare_value | |
| string | $a_caption | |
| string | $a_url | |
| string | $a_tt_id | |
| string | $a_tt_txt | |
| string | $a_next_step | |
| string | $a_sub | (html) |
| int | $a_sub_style | |
| string | $a_main_text | |
| string | $a_required_text |
Definition at line 1121 of file class.ilContainerObjectiveGUI.php.
References $DIC, ilContainerContentGUI\$lng, ilContainerContentGUI\$tpl, and ilTooltipGUI\addTooltip().
Referenced by buildObjectiveProgressBar().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 374 of file class.ilContainerObjectiveGUI.php.
References $DIC, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilCourseObjective\lookupObjectiveTitle(), ilContainerContentGUI\renderItem(), and ilLOUserResults\STATUS_COMPLETED.
Referenced by getMainContent(), and renderObjective().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
show action button
@access protected
return
Definition at line 1511 of file class.ilContainerObjectiveGUI.php.
References ilContainerContentGUI\$ctrl, and $toolbar.
Referenced by getMainContent(), and showObjectives().
Here is the caller graph for this function:| ilContainerObjectiveGUI::showMaterials | ( | $a_tpl, | |
$a_mode = null, |
|||
$a_is_manage = false, |
|||
$a_as_accordion = false |
|||
| ) |
Show all other (no assigned tests, no assigned materials) materials.
@access public
| object | $tpl | template object |
Definition at line 430 of file class.ilContainerObjectiveGUI.php.
References ilContainerContentGUI\$access, ilContainerContentGUI\$lng, $txt, buildAccordionContent(), buildObjectiveMap(), ilContainerContentGUI\clearAdminCommandsDetermination(), ilContainerContentGUI\getContainerObject(), ilLOTestAssignments\getInstance(), ilContainerContentGUI\getItemGroupsHTML(), MATERIALS_OTHER, MATERIALS_TESTS, ilContainerContentGUI\renderItem(), 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 | ( | $a_tpl, | |
$a_is_order = false |
|||
| ) |
show objectives
@access public
| object | $tpl | template object |
Definition at line 237 of file class.ilContainerObjectiveGUI.php.
References $ilSetting, ilContainerContentGUI\$lng, $output_html, ilContainerContentGUI\$settings, ilContainerContentGUI\$tpl, ilCourseObjective\_getObjectiveIds(), addFooterRow(), ilContainerContentGUI\clearAdminCommandsDetermination(), ilAccordionGUI\FIRST_OPEN, ilContainerContentGUI\getContainerGUI(), ilContainerContentGUI\getContainerObject(), ilObjStyleSheet\getContentStylePath(), ilLOSettings\getInstanceByObjId(), ilObjStyleSheet\getSyntaxStylePath(), ilLOUtils\hasActiveRun(), ilContainerContentGUI\insertPageEmbeddedBlocks(), parseLOUserResults(), renderObjective(), showButton(), 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 | ( | $tpl | ) |
show status
@access public
return
Definition at line 213 of file class.ilContainerObjectiveGUI.php.
References $ilUser, ilContainerContentGUI\$lng, ilContainerContentGUI\$user, ilCourseObjectiveResultCache\getStatus(), and IL_OBJECTIVE_STATUS_EMPTY.
Here is the call graph for this function:
|
protected |
Definition at line 715 of file class.ilContainerObjectiveGUI.php.
References ilObject\_lookupObjId(), ilObjTest\isParticipantsLastPassActive(), and ilLOTestRun\lookupRunExistsForObjective().
Referenced by addItemDetails().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 31 of file class.ilContainerObjectiveGUI.php.
|
protected |
Definition at line 36 of file class.ilContainerObjectiveGUI.php.
Referenced by getSettings().
|
private |
Definition at line 19 of file class.ilContainerObjectiveGUI.php.
|
private |
Definition at line 41 of file class.ilContainerObjectiveGUI.php.
Referenced by showObjectives().
|
protected |
Definition at line 24 of file class.ilContainerObjectiveGUI.php.
Referenced by getMainContent().
|
private |
Definition at line 43 of file class.ilContainerObjectiveGUI.php.
Referenced by getTestAssignments().
|
protected |
Definition at line 29 of file class.ilContainerObjectiveGUI.php.
Referenced by showButton().
| const ilContainerObjectiveGUI::MATERIALS_OTHER = 2 |
Definition at line 39 of file class.ilContainerObjectiveGUI.php.
Referenced by showMaterials().
| const ilContainerObjectiveGUI::MATERIALS_TESTS = 1 |
Definition at line 38 of file class.ilContainerObjectiveGUI.php.
Referenced by showMaterials().