ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilInfoScreenGUI. More...
Public Member Functions | |
ilInfoScreenGUI ($a_gui_object) | |
Constructor. | |
& | executeCommand () |
execute command | |
setTableClass ($a_val) | |
Set table class. | |
getTableClass () | |
Get table class. | |
enablePrivateNotes ($a_enable=true) | |
enable notes | |
enableLearningProgress ($a_enable=true) | |
enable learning progress | |
enableFeedback ($a_enable=true) | |
enable feedback | |
enableNews ($a_enable=true) | |
enable news | |
enableNewsEditing ($a_enable=true) | |
enable news editing | |
setBlockProperty ($a_block_type, $a_property, $a_value) | |
This function is supposed to be used for block type specific properties, that should be passed to ilBlockGUI->setProperty. | |
getAllBlockProperties () | |
addSection ($a_title) | |
add a new section | |
setFormAction ($a_form_action, $a_form_target= '') | |
set a form action | |
removeFormAction () | |
remove form action | |
addProperty ($a_name, $a_value, $a_link="") | |
add a property to current section | |
addPropertyCheckbox ($a_name, $a_checkbox_name, $a_checkbox_value, $a_checkbox_label="", $a_checkbox_checked=false) | |
add a property to current section | |
addPropertyTextinput ($a_name, $a_input_name, $a_input_value="", $a_input_size="", $direct_button_command="", $direct_button_label="") | |
add a property to current section | |
addButton ($a_title, $a_link, $a_frame="", $a_position="top") | |
add a property to current section | |
addFormButton ($a_command, $a_title, $a_position="top") | |
add a form button to the info screen the form buttons are only valid if a form action is set | |
addHiddenElement ($a_name, $a_value) | |
addMetaDataSections ($a_rep_obj_id, $a_obj_id, $a_type) | |
add standard meta data sections | |
addObjectSections () | |
add standard object section | |
showSummary () | |
show summary page | |
getCenterColumnHTML () | |
Display center column. | |
getRightColumnHTML () | |
Display right column. | |
setColumnSettings ($column_gui) | |
Set column settings. | |
getHTML () | |
get html | |
showLearningProgress ($a_tpl) | |
saveProgress () | |
showNotesSection () | |
show notes section | |
showLDAPRoleGroupMappingInfo ($a_section= '') | |
show LDAP role group mapping info | |
setTabs () | |
getTabs (&$tabs_gui) | |
get tabs | |
addTagging () | |
Add tagging. | |
saveTags () | |
hideFurtherSections ($a_add_toggle=true) | |
getHiddenToggleButton () |
Data Fields | |
$ilias | |
$lng | |
$ctrl | |
$gui_object | |
$top_buttons = array() | |
$top_formbuttons = array() | |
$hiddenelements = array() | |
$table_class = "il_InfoScreen" | |
$form_action | |
a form action parameter. |
Class ilInfoScreenGUI.
ilInfoScreenGUI: ilNoteGUI, ilFeedbackGUI, ilColumnGUI, ilPublicUserProfileGUI ilInfoScreenGUI: ilCommonActionDispatcherGUI
Definition at line 18 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::addButton | ( | $a_title, | |
$a_link, | |||
$a_frame = "" , |
|||
$a_position = "top" |
|||
) |
add a property to current section
Definition at line 281 of file class.ilInfoScreenGUI.php.
Referenced by getHTML().
ilInfoScreenGUI::addFormButton | ( | $a_command, | |
$a_title, | |||
$a_position = "top" |
|||
) |
add a form button to the info screen the form buttons are only valid if a form action is set
Definition at line 294 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::addHiddenElement | ( | $a_name, | |
$a_value | |||
) |
Definition at line 304 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::addMetaDataSections | ( | $a_rep_obj_id, | |
$a_obj_id, | |||
$a_type | |||
) |
add standard meta data sections
Definition at line 312 of file class.ilInfoScreenGUI.php.
References $lng, ilMDUtils\_parseCopyright(), ilFormat\_secondsToString(), addProperty(), and addSection().
ilInfoScreenGUI::addObjectSections | ( | ) |
add standard object section
Definition at line 438 of file class.ilInfoScreenGUI.php.
References $ilCtrl, $ilias, $ilSetting, $lng, $ref_id, $size, $title, ilObject\_getAllReferences(), ilPermanentLinkGUI\_getBookmarksSelectionList(), ilLink\_getStaticLink(), ilDiskQuotaActivationChecker\_isActive(), ilChangeEvent\_isActive(), ilDAVServer\_isActive(), ilChangeEvent\_lookupReadEvents(), addProperty(), addSection(), ilDatePresentation\formatDate(), ilFormat\formatSize(), ilUtil\getImagePath(), ilECSServerSettings\getInstance(), ilObjectFactory\getInstanceByObjId(), and IL_CAL_DATETIME.
Referenced by getHTML().
ilInfoScreenGUI::addProperty | ( | $a_name, | |
$a_value, | |||
$a_link = "" |
|||
) |
add a property to current section
string | $a_name | property name string |
string | $a_value | property value |
string | $a_link | link (will link the property value string) |
Definition at line 229 of file class.ilInfoScreenGUI.php.
Referenced by addMetaDataSections(), addObjectSections(), addTagging(), and showLDAPRoleGroupMappingInfo().
ilInfoScreenGUI::addPropertyCheckbox | ( | $a_name, | |
$a_checkbox_name, | |||
$a_checkbox_value, | |||
$a_checkbox_label = "" , |
|||
$a_checkbox_checked = false |
|||
) |
add a property to current section
Definition at line 239 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::addPropertyTextinput | ( | $a_name, | |
$a_input_name, | |||
$a_input_value = "" , |
|||
$a_input_size = "" , |
|||
$direct_button_command = "" , |
|||
$direct_button_label = "" |
|||
) |
add a property to current section
Definition at line 258 of file class.ilInfoScreenGUI.php.
References ilUtil\prepareFormOutput().
ilInfoScreenGUI::addSection | ( | $a_title | ) |
add a new section
Definition at line 197 of file class.ilInfoScreenGUI.php.
Referenced by addMetaDataSections(), addObjectSections(), addTagging(), and showLDAPRoleGroupMappingInfo().
ilInfoScreenGUI::addTagging | ( | ) |
Add tagging.
Definition at line 1179 of file class.ilInfoScreenGUI.php.
References $ilCtrl, $lng, addProperty(), and addSection().
Referenced by getHTML().
ilInfoScreenGUI::enableFeedback | ( | $a_enable = true | ) |
enable feedback
Definition at line 156 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enableLearningProgress | ( | $a_enable = true | ) |
enable learning progress
Definition at line 147 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enableNews | ( | $a_enable = true | ) |
enable news
Definition at line 164 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enableNewsEditing | ( | $a_enable = true | ) |
enable news editing
Definition at line 172 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enablePrivateNotes | ( | $a_enable = true | ) |
enable notes
Definition at line 139 of file class.ilInfoScreenGUI.php.
& ilInfoScreenGUI::executeCommand | ( | ) |
execute command
Definition at line 62 of file class.ilInfoScreenGUI.php.
References $_GET, $cmd, $tpl, ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), setTabs(), and showSummary().
ilInfoScreenGUI::getAllBlockProperties | ( | ) |
Definition at line 189 of file class.ilInfoScreenGUI.php.
Referenced by setColumnSettings().
ilInfoScreenGUI::getCenterColumnHTML | ( | ) |
Display center column.
Definition at line 652 of file class.ilInfoScreenGUI.php.
References $ilCtrl, getHTML(), IL_COL_CENTER, IL_COL_LEFT, IL_COL_RIGHT, IL_SCREEN_SIDE, and setColumnSettings().
Referenced by showSummary().
ilInfoScreenGUI::getHiddenToggleButton | ( | ) |
Definition at line 1222 of file class.ilInfoScreenGUI.php.
References $lng.
ilInfoScreenGUI::getHTML | ( | ) |
get html
Definition at line 734 of file class.ilInfoScreenGUI.php.
References $ilCtrl, $ilSetting, $lng, $tpl, addButton(), addObjectSections(), addTagging(), getTableClass(), setFormAction(), showLearningProgress(), and showNotesSection().
Referenced by getCenterColumnHTML().
ilInfoScreenGUI::getRightColumnHTML | ( | ) |
Display right column.
Definition at line 691 of file class.ilInfoScreenGUI.php.
References $ilCtrl, $lng, IL_COL_RIGHT, IL_SCREEN_SIDE, and setColumnSettings().
Referenced by showSummary().
ilInfoScreenGUI::getTableClass | ( | ) |
Get table class.
Definition at line 131 of file class.ilInfoScreenGUI.php.
References $table_class.
Referenced by getHTML().
ilInfoScreenGUI::getTabs | ( | & | $tabs_gui | ) |
get tabs
Definition at line 1119 of file class.ilInfoScreenGUI.php.
References $_GET.
Referenced by setTabs().
ilInfoScreenGUI::hideFurtherSections | ( | $a_add_toggle = true | ) |
Definition at line 1216 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::ilInfoScreenGUI | ( | $a_gui_object | ) |
Constructor.
object | $a_gui_object | GUI instance of related object (ilCouseGUI, ilTestGUI, ...) |
Definition at line 40 of file class.ilInfoScreenGUI.php.
References $ilCtrl, $ilias, and $lng.
ilInfoScreenGUI::removeFormAction | ( | ) |
remove form action
Definition at line 217 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::saveProgress | ( | ) |
Definition at line 1008 of file class.ilInfoScreenGUI.php.
References $_POST, ilLPStatusWrapper\_updateStatus(), ilUtil\sendSuccess(), ilLPMarks\setCompleted(), and showSummary().
ilInfoScreenGUI::saveTags | ( | ) |
Definition at line 1203 of file class.ilInfoScreenGUI.php.
References $ilCtrl, and showSummary().
ilInfoScreenGUI::setBlockProperty | ( | $a_block_type, | |
$a_property, | |||
$a_value | |||
) |
This function is supposed to be used for block type specific properties, that should be passed to ilBlockGUI->setProperty.
string | $a_property | property name |
string | $a_value | property value |
Definition at line 184 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::setColumnSettings | ( | $column_gui | ) |
Set column settings.
Definition at line 722 of file class.ilInfoScreenGUI.php.
References $lng, and getAllBlockProperties().
Referenced by getCenterColumnHTML(), and getRightColumnHTML().
ilInfoScreenGUI::setFormAction | ( | $a_form_action, | |
$a_form_target = '' |
|||
) |
set a form action
Definition at line 207 of file class.ilInfoScreenGUI.php.
Referenced by getHTML().
ilInfoScreenGUI::setTableClass | ( | $a_val | ) |
Set table class.
string | table class |
Definition at line 121 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::setTabs | ( | ) |
Definition at line 1109 of file class.ilInfoScreenGUI.php.
References $tpl, and getTabs().
Referenced by executeCommand().
ilInfoScreenGUI::showLDAPRoleGroupMappingInfo | ( | $a_section = '' | ) |
show LDAP role group mapping info
public
string | section name. Leave empty to place this info string inside a section |
Definition at line 1083 of file class.ilInfoScreenGUI.php.
References ilLDAPRoleGroupMapping\_getInstance(), addProperty(), and addSection().
ilInfoScreenGUI::showLearningProgress | ( | $a_tpl | ) |
Definition at line 899 of file class.ilInfoScreenGUI.php.
References ilObjUserTracking\_enabledLearningProgress(), ilLearningProgress\_getProgress(), ilLPMarks\_hasCompleted(), ilLPObjSettings\_lookupMode(), ilFormat\_secondsToString(), ilDatePresentation\formatDate(), ilUtil\formSelect(), IL_CAL_DATETIME, and LP_MODE_MANUAL.
Referenced by getHTML().
ilInfoScreenGUI::showNotesSection | ( | ) |
show notes section
Definition at line 1032 of file class.ilInfoScreenGUI.php.
References $ilSetting, $ref_id, and ilNoteGUI\enablePublicNotes().
Referenced by getHTML().
ilInfoScreenGUI::showSummary | ( | ) |
show summary page
Definition at line 640 of file class.ilInfoScreenGUI.php.
References $tpl, getCenterColumnHTML(), and getRightColumnHTML().
Referenced by executeCommand(), saveProgress(), and saveTags().
ilInfoScreenGUI::$ctrl |
Definition at line 22 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::$form_action |
a form action parameter.
if set a form is generated
Definition at line 32 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::$gui_object |
Definition at line 23 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::$hiddenelements = array() |
Definition at line 26 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::$ilias |
Definition at line 20 of file class.ilInfoScreenGUI.php.
Referenced by addObjectSections(), and ilInfoScreenGUI().
ilInfoScreenGUI::$lng |
Definition at line 21 of file class.ilInfoScreenGUI.php.
Referenced by addMetaDataSections(), addObjectSections(), addTagging(), getHiddenToggleButton(), getHTML(), getRightColumnHTML(), ilInfoScreenGUI(), and setColumnSettings().
ilInfoScreenGUI::$table_class = "il_InfoScreen" |
Definition at line 27 of file class.ilInfoScreenGUI.php.
Referenced by getTableClass().
ilInfoScreenGUI::$top_buttons = array() |
Definition at line 24 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::$top_formbuttons = array() |
Definition at line 25 of file class.ilInfoScreenGUI.php.