ILIAS
Release_5_0_x_branch Revision 61816
|
GUI class for course objective view. More...
Public Member Functions | |
__construct ($a_container_gui) | |
Constructor. | |
getDetailsLevel ($a_objective_id) | |
get details level | |
getMainContent () | |
Impementation of abstract method getMainContent. | |
showStatus ($tpl) | |
show status | |
showObjectives ($a_tpl, $a_is_order=false) | |
show objectives | |
addFooterRow () | |
add footer row | |
showMaterials ($a_tpl, $a_mode=null, $a_is_manage=false, $a_as_accordion=false) | |
Show all other (no assigned tests, no assigned materials) materials. | |
Public Member Functions inherited from ilContainerContentGUI | |
__construct (&$container_gui_obj) | |
Constructor. | |
getContainerObject () | |
Get container object. | |
getContainerGUI () | |
Get container GUI object. | |
setOutput () | |
Sets view output into column layout. | |
determinePageEmbeddedBlocks ($a_container_page_html) | |
Determine all blocks that are embedded in the container page. | |
addEmbeddedBlock ($block_type, $block_parameter) | |
Add embedded block. | |
getEmbeddedBlocks () | |
Get page embedded blocks. | |
renderPageEmbeddedBlocks () | |
Render Page Embedded Blocks. | |
renderItem ($a_item_data, $a_position=0, $a_force_icon=false, $a_pos_prefix="") | |
Render an item. | |
insertPageEmbeddedBlocks ($a_output_html) | |
Insert blocks into container page. | |
getGroupedObjTypes () | |
Get grouped repository object types. | |
getIntroduction () | |
Get introduction. | |
getItemGroupsHTML ($a_pos=0) | |
Get item groups HTML. | |
renderItemGroup ($a_itgr) | |
Render item group. |
Static Public Member Functions | |
static | buildObjectiveProgressBar ($a_has_initial_test, $a_objective_id, array $a_lo_result, $a_list_mode=false) |
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 |
$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 | |
initDetails () | |
init details | |
parseLOUserResults () | |
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 | |
Protected Member Functions inherited from ilContainerContentGUI | |
getRightColumnHTML () | |
Get HTML for right column. | |
getCenterColumnHTML () | |
Get HTML for center column. | |
initRenderer () | |
Init container renderer. | |
clearAdminCommandsDetermination () | |
cleaer administration commands determination | |
determineAdminCommands ($a_ref_id, $a_admin_com_included_in_list=false) | |
determin admin commands | |
getItemGUI ($item_data, $a_show_path=false) | |
Get ListGUI object for item. |
Protected Attributes | |
$force_details = 0 | |
$loc_settings | |
Protected Attributes inherited from ilContainerContentGUI | |
$details_level = self::DETAILS_DEACTIVATED | |
$renderer |
Private Attributes | |
$output_html = '' |
GUI class for course objective view.
Definition at line 35 of file class.ilContainerObjectiveGUI.php.
ilContainerObjectiveGUI::__construct | ( | $a_container_gui | ) |
Constructor.
public
object | container gui object |
Definition at line 52 of file class.ilContainerObjectiveGUI.php.
References $lng, and initDetails().
ilContainerObjectiveGUI::addFooterRow | ( | ) |
add footer row
public
@return |
Definition at line 332 of file class.ilContainerObjectiveGUI.php.
Referenced by showObjectives().
|
protected |
Definition at line 568 of file class.ilContainerObjectiveGUI.php.
References $GLOBALS, $ilCtrl, $lng, $res, 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, and updateResult().
|
protected |
Definition at line 1134 of file class.ilContainerObjectiveGUI.php.
References $tpl.
Referenced by showMaterials().
|
protected |
Definition at line 1113 of file class.ilContainerObjectiveGUI.php.
References $tpl, ilCourseObjective\getDescription(), ilCourseObjective\getObjectiveId(), and ilCourseObjective\getTitle().
Referenced by renderObjective().
|
protected |
Definition at line 529 of file class.ilContainerObjectiveGUI.php.
References ilCourseObjectiveMaterials\_getAssignedMaterials(), ilCourseObjective\_getObjectiveIds(), and ilContainerContentGUI\getContainerObject().
Referenced by showMaterials().
|
static |
Definition at line 997 of file class.ilContainerObjectiveGUI.php.
References $lng, $tpl, ilTooltipGUI\addTooltip(), ilLOUserResults\STATUS_COMPLETED, and ilLOUserResults\TYPE_QUALIFIED.
Referenced by ilPortfolioPageGUI\renderMyCourses().
ilContainerObjectiveGUI::getDetailsLevel | ( | $a_objective_id | ) |
get details level
public
@return |
Reimplemented from ilContainerContentGUI.
Definition at line 69 of file class.ilContainerObjectiveGUI.php.
References ilContainerContentGUI\DETAILS_ALL.
Referenced by renderObjective().
ilContainerObjectiveGUI::getMainContent | ( | ) |
Impementation of abstract method getMainContent.
public
Reimplemented from ilContainerContentGUI.
Definition at line 89 of file class.ilContainerObjectiveGUI.php.
References $GLOBALS, $lng, $tpl, ilContainerContentGUI\getContainerGUI(), ilContainerContentGUI\getContainerObject(), ilLOSettings\getInstanceByObjId(), ilLOUserResults\hasResults(), ilContainerContentGUI\initRenderer(), renderTest(), showButton(), showMaterials(), and showObjectives().
|
protected |
init details
protected
@return |
Definition at line 918 of file class.ilContainerObjectiveGUI.php.
References $ilUser.
Referenced by __construct().
|
protected |
Definition at line 961 of file class.ilContainerObjectiveGUI.php.
References $ilUser, $res, $result, ilContainerContentGUI\getContainerObject(), ilLOUserResults\TYPE_INITIAL, and ilLOUserResults\TYPE_QUALIFIED.
Referenced by showObjectives().
|
protected |
render objective
protected
int | objective id | |
bool | co page status | |
ilAccordionGUI | $a_accordion | |
array | $a_lo_result |
Definition at line 733 of file class.ilContainerObjectiveGUI.php.
References $ilUser, $lng, ilPageUtil\_existsAndNotEmpty(), buildAccordionTitle(), ilContainerContentGUI\getContainerGUI(), ilContainerContentGUI\getContainerObject(), getDetailsLevel(), ilObjStyleSheet\getEffectiveContentStyleId(), ilContainerContentGUI\getItemGUI(), ilObjectActivation\getItemsByObjective(), ilLOSettings\LOC_INITIAL_SEL, and renderTest().
Referenced by showObjectives().
|
protected |
Definition at line 353 of file class.ilContainerObjectiveGUI.php.
References $GLOBALS, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilCourseObjective\lookupObjectiveTitle(), and ilLOUserResults\STATUS_COMPLETED.
Referenced by getMainContent(), and renderObjective().
|
protected |
show action button
protected
@return |
Definition at line 1153 of file class.ilContainerObjectiveGUI.php.
References $ilCtrl.
Referenced by getMainContent(), and showObjectives().
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.
public
object | $tpl | template object |
Definition at line 406 of file class.ilContainerObjectiveGUI.php.
References $lng, $txt, buildAccordionContent(), buildObjectiveMap(), ilContainerContentGUI\clearAdminCommandsDetermination(), ilContainerContentGUI\getItemGroupsHTML(), and ilContainerContentGUI\renderItem().
Referenced by getMainContent().
ilContainerObjectiveGUI::showObjectives | ( | $a_tpl, | |
$a_is_order = false |
|||
) |
show objectives
public
object | $tpl | template object |
Definition at line 209 of file class.ilContainerObjectiveGUI.php.
References $GLOBALS, $ilSetting, $lng, $output_html, 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().
ilContainerObjectiveGUI::showStatus | ( | $tpl | ) |
show status
public
@return |
Definition at line 186 of file class.ilContainerObjectiveGUI.php.
References $ilUser, $lng, ilContainerContentGUI\getContainerObject(), ilCourseObjectiveResultCache\getStatus(), and IL_OBJECTIVE_STATUS_EMPTY.
|
protected |
Definition at line 694 of file class.ilContainerObjectiveGUI.php.
References ilObject\_lookupObjId(), ilObjTest\isParticipantsLastPassActive(), and ilLOTestRun\lookupRunExistsForObjective().
Referenced by addItemDetails().
|
protected |
Definition at line 37 of file class.ilContainerObjectiveGUI.php.
|
protected |
Definition at line 38 of file class.ilContainerObjectiveGUI.php.
|
private |
Definition at line 43 of file class.ilContainerObjectiveGUI.php.
Referenced by showObjectives().
const ilContainerObjectiveGUI::MATERIALS_OTHER = 2 |
Definition at line 41 of file class.ilContainerObjectiveGUI.php.
const ilContainerObjectiveGUI::MATERIALS_TESTS = 1 |
Definition at line 40 of file class.ilContainerObjectiveGUI.php.