ILIAS
Release_4_4_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) | |
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, $a_pos_prefix="") | |
Render an item. | |
newBlockTemplate () | |
returns a new list block template | |
addStandardRow (&$a_tpl, $a_html, $a_ref_id=0) | |
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. | |
getItemGroupsHTML ($a_tpl) | |
Get item groups HTML. | |
renderItemGroup ($a_tpl, $a_itgr) | |
Render item group. |
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 |
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 51 of file class.ilContainerObjectiveGUI.php.
References $lng, and initDetails().
ilContainerObjectiveGUI::addFooterRow | ( | $tpl | ) |
add footer row
public
@return |
Definition at line 214 of file class.ilContainerObjectiveGUI.php.
References $_GET, $ilCtrl, $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 68 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 83 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 444 of file class.ilContainerObjectiveGUI.php.
References $_GET, ilContainerContentGUI\$details_level, $force_details, $ilUser, ilCourseObjective\_getObjectiveIds(), ilContainerContentGUI\DETAILS_TITLE, ilContainerContentGUI\getContainerObject(), and ilCourseObjectiveResultCache\isSuggested().
Referenced by __construct().
|
protected |
render objective
protected
int | objective id |
Definition at line 345 of file class.ilContainerObjectiveGUI.php.
References $ilUser, $lng, ilContainerSorting\_getInstance(), ilLMObject\_lookupTitle(), ilContainerContentGUI\determineAdminCommands(), ilContainerContentGUI\getContainerGUI(), ilContainerContentGUI\getContainerObject(), getDetailsLevel(), ilContainerContentGUI\getItemGUI(), ilObjectActivation\getItemsByObjective(), and ilContainer\SORT_MANUAL.
Referenced by showObjectives().
|
protected |
show action button
protected
@return |
Definition at line 489 of file class.ilContainerObjectiveGUI.php.
References $ilCtrl.
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 254 of file class.ilContainerObjectiveGUI.php.
References $lng, $output_html, $tpl, ilContainerContentGUI\addHeaderRow(), ilContainerContentGUI\addStandardRow(), ilContainerContentGUI\clearAdminCommandsDetermination(), ilContainerContentGUI\getItemGroupsHTML(), ilContainerContentGUI\insertPageEmbeddedBlocks(), ilContainerContentGUI\newBlockTemplate(), and ilContainerContentGUI\renderItem().
Referenced by getMainContent().
ilContainerObjectiveGUI::showObjectives | ( | $a_tpl | ) |
show objectives
public
object | $tpl | template object |
Definition at line 152 of file class.ilContainerObjectiveGUI.php.
References $ilSetting, $lng, $output_html, $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 127 of file class.ilContainerObjectiveGUI.php.
References $ilUser, $lng, ilContainerContentGUI\getContainerObject(), ilUtil\getImagePath(), ilCourseObjectiveResultCache\getStatus(), and IL_OBJECTIVE_STATUS_EMPTY.
Referenced by getMainContent().
|
protected |
Definition at line 37 of file class.ilContainerObjectiveGUI.php.
Referenced by initDetails().
|
private |
Definition at line 42 of file class.ilContainerObjectiveGUI.php.
Referenced by showMaterials(), and showObjectives().
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.