ILIAS
Release_3_10_x_branch Revision 61812
|
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) | |
show objectives | |
addFooterRow ($tpl) | |
add footer row | |
showMaterials ($a_tpl, $a_mode) | |
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) | |
Render an item. | |
& | newBlockTemplate () |
returns a new list block template | |
addStandardRow (&$a_tpl, $a_html) | |
add item row to template | |
addHeaderRow ($a_tpl, $a_type="", $a_text="") | |
Add header row to block template. | |
resetRowType () | |
Reset row type (toggling background colors) | |
insertPageEmbeddedBlocks ($a_output_html) | |
Insert blocks into container page. | |
addMessageRow (&$a_tpl, $a_message, $a_type) | |
add message row | |
addSeparatorRow (&$a_tpl) | |
Add separator row between two blocks. | |
getGroupedObjTypes () | |
Get grouped repository object types. | |
getIntroduction () | |
Get introduction. |
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 | |
renderObjective ($a_objective_id) | |
render objective | |
initDetails () | |
init details | |
showButton ($a_cmd, $a_text, $a_target= '') | |
show action button | |
Protected Member Functions inherited from ilContainerContentGUI | |
getRightColumnHTML () | |
Get HTML for right column. | |
getCenterColumnHTML () | |
Get HTML for center column. | |
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 | |
Protected Attributes inherited from ilContainerContentGUI | |
$details_level = self::DETAILS_DEACTIVATED |
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 49 of file class.ilContainerObjectiveGUI.php.
References $lng, and initDetails().
ilContainerObjectiveGUI::addFooterRow | ( | $tpl | ) |
add footer row
public
@return |
Definition at line 218 of file class.ilContainerObjectiveGUI.php.
References $tpl, ilContainerContentGUI\getContainerObject(), and ilUtil\getImagePath().
Referenced by showObjectives().
ilContainerObjectiveGUI::getDetailsLevel | ( | $a_objective_id | ) |
get details level
public
@return |
Reimplemented from ilContainerContentGUI.
Definition at line 66 of file class.ilContainerObjectiveGUI.php.
References ilContainerContentGUI\$details_level, and ilContainerContentGUI\DETAILS_ALL.
Referenced by renderObjective().
ilContainerObjectiveGUI::getMainContent | ( | ) |
Impementation of abstract method getMainContent.
public
Reimplemented from ilContainerContentGUI.
Definition at line 81 of file class.ilContainerObjectiveGUI.php.
References $lng, $tpl, ilContainerContentGUI\getContainerGUI(), ilContainerContentGUI\getContainerObject(), showButton(), showMaterials(), showObjectives(), and showStatus().
|
protected |
init details
protected
@return |
Definition at line 424 of file class.ilContainerObjectiveGUI.php.
References $_GET, ilContainerContentGUI\$details_level, $force_details, ilCourseObjective\_getObjectiveIds(), ilObjUser\_writePref(), ilContainerContentGUI\DETAILS_TITLE, ilContainerContentGUI\getContainerObject(), and ilCourseObjectiveResultCache\isSuggested().
Referenced by __construct().
|
protected |
render objective
protected
int | objective id |
Definition at line 326 of file class.ilContainerObjectiveGUI.php.
References $lng, ilContainerSorting\_getInstance(), ilLMObject\_lookupTitle(), ilContainerContentGUI\determineAdminCommands(), ilContainerContentGUI\getContainerGUI(), ilContainerContentGUI\getContainerObject(), getDetailsLevel(), ilContainerContentGUI\getItemGUI(), and ilContainer\SORT_MANUAL.
Referenced by showObjectives().
|
protected |
show action button
protected
@return |
Definition at line 469 of file class.ilContainerObjectiveGUI.php.
Referenced by getMainContent().
ilContainerObjectiveGUI::showMaterials | ( | $a_tpl, | |
$a_mode | |||
) |
Show all other (no assigned tests, no assigned materials) materials.
public
object | $tpl | template object |
Definition at line 250 of file class.ilContainerObjectiveGUI.php.
References $lng, $tpl, ilContainerContentGUI\addHeaderRow(), ilContainerContentGUI\addStandardRow(), ilContainerContentGUI\clearAdminCommandsDetermination(), ilContainerContentGUI\getContainerGUI(), ilContainerContentGUI\insertPageEmbeddedBlocks(), ilContainerContentGUI\newBlockTemplate(), and ilContainerContentGUI\renderItem().
Referenced by getMainContent().
ilContainerObjectiveGUI::showObjectives | ( | $a_tpl | ) |
show objectives
public
object | $tpl | template object |
Definition at line 151 of file class.ilContainerObjectiveGUI.php.
References $ilSetting, $lng, $tpl, ilCourseObjective\_getObjectiveIds(), addFooterRow(), ilContainerContentGUI\addHeaderRow(), ilContainerContentGUI\addStandardRow(), ilContainerContentGUI\clearAdminCommandsDetermination(), ilContainerContentGUI\getContainerGUI(), ilContainerContentGUI\getContainerObject(), ilContainerContentGUI\insertPageEmbeddedBlocks(), ilContainerContentGUI\newBlockTemplate(), and renderObjective().
Referenced by getMainContent().
ilContainerObjectiveGUI::showStatus | ( | $tpl | ) |
show status
public
@return |
Definition at line 124 of file class.ilContainerObjectiveGUI.php.
References $lng, $tpl, ilContainerContentGUI\getContainerObject(), ilCourseObjectiveResultCache\getStatus(), and IL_OBJECTIVE_STATUS_EMPTY.
Referenced by getMainContent().
|
protected |
Definition at line 37 of file class.ilContainerObjectiveGUI.php.
Referenced by initDetails().
const ilContainerObjectiveGUI::MATERIALS_OTHER = 2 |
Definition at line 40 of file class.ilContainerObjectiveGUI.php.
const ilContainerObjectiveGUI::MATERIALS_TESTS = 1 |
Definition at line 39 of file class.ilContainerObjectiveGUI.php.