|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilInfoScreenGUI. More...
Collaboration diagram for ilInfoScreenGUI:Public Member Functions | |
| ilInfoScreenGUI ($a_gui_object) | |
| Constructor. More... | |
| & | executeCommand () |
| execute command More... | |
| setTableClass ($a_val) | |
| Set table class. More... | |
| getTableClass () | |
| Get table class. More... | |
| enablePrivateNotes ($a_enable=true) | |
| enable notes More... | |
| enableLearningProgress ($a_enable=true) | |
| enable learning progress More... | |
| enableFeedback ($a_enable=true) | |
| enable feedback More... | |
| enableNews ($a_enable=true) | |
| enable news More... | |
| enableNewsEditing ($a_enable=true) | |
| enable news editing More... | |
| 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. More... | |
| getAllBlockProperties () | |
| addSection ($a_title) | |
| add a new section More... | |
| setFormAction ($a_form_action) | |
| set a form action More... | |
| removeFormAction () | |
| remove form action More... | |
| addProperty ($a_name, $a_value, $a_link="") | |
| add a property to current section More... | |
| addPropertyCheckbox ($a_name, $a_checkbox_name, $a_checkbox_value, $a_checkbox_label="", $a_checkbox_checked=false) | |
| add a property to current section More... | |
| addPropertyTextinput ($a_name, $a_input_name, $a_input_value="", $a_input_size="", $direct_button_command="", $direct_button_label="", $direct_button_primary=false) | |
| add a property to current section More... | |
| addButton ($a_title, $a_link, $a_frame="", $a_position="top", $a_primary=false) | |
| add a property to current section More... | |
| 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 More... | |
| addHiddenElement ($a_name, $a_value) | |
| addMetaDataSections ($a_rep_obj_id, $a_obj_id, $a_type) | |
| add standard meta data sections More... | |
| addObjectSections () | |
| add standard object section More... | |
| showSummary () | |
| show summary page More... | |
| getCenterColumnHTML () | |
| Display center column. More... | |
| getRightColumnHTML () | |
| Display right column. More... | |
| setColumnSettings ($column_gui) | |
| Set column settings. More... | |
| setOpenFormTag ($a_val) | |
| setCloseFormTag ($a_val) | |
| getHTML () | |
| get html More... | |
| showLearningProgress ($a_tpl) | |
| saveProgress () | |
| showNotesSection () | |
| show notes section More... | |
| showLDAPRoleGroupMappingInfo ($a_section='') | |
| show LDAP role group mapping info More... | |
| setTabs () | |
| getTabs (&$tabs_gui) | |
| get tabs More... | |
| addTagging () | |
| Add tagging. More... | |
| 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" | |
| $open_form_tag = true | |
| $close_form_tag = true | |
| $form_action | |
| a form action parameter. More... | |
Class ilInfoScreenGUI.
@ilCtrl_Calls ilInfoScreenGUI: ilNoteGUI, ilColumnGUI, ilPublicUserProfileGUI @ilCtrl_Calls ilInfoScreenGUI: ilCommonActionDispatcherGUI
Definition at line 18 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::addButton | ( | $a_title, | |
| $a_link, | |||
$a_frame = "", |
|||
$a_position = "top", |
|||
$a_primary = false |
|||
| ) |
add a property to current section
Definition at line 278 of file class.ilInfoScreenGUI.php.
Referenced by getHTML().
Here is the caller graph for this function:| 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 291 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::addHiddenElement | ( | $a_name, | |
| $a_value | |||
| ) |
Definition at line 301 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::addMetaDataSections | ( | $a_rep_obj_id, | |
| $a_obj_id, | |||
| $a_type | |||
| ) |
add standard meta data sections
Definition at line 309 of file class.ilInfoScreenGUI.php.
References $lng, ilMDUtils\_parseCopyright(), ilFormat\_secondsToString(), addProperty(), and addSection().
Here is the call graph for this function:| ilInfoScreenGUI::addObjectSections | ( | ) |
add standard object section
Definition at line 435 of file class.ilInfoScreenGUI.php.
References $ilCtrl, $ilias, $ilSetting, $ilUser, $lng, $r, $ref_id, $size, ilObject\_getAllReferences(), ilPermanentLinkGUI\_getBookmarksSelectionList(), ilLink\_getStaticLink(), ilChangeEvent\_isActive(), ilDAVServer\_isActive(), ilDiskQuotaActivationChecker\_isActive(), ilChangeEvent\_lookupReadEvents(), addProperty(), addSection(), ilDatePresentation\formatDate(), ilFormat\formatSize(), ilECSServerSettings\getInstance(), ilObjectFactory\getInstanceByObjId(), IL_CAL_DATETIME, and ilObjUser\userExists().
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 220 of file class.ilInfoScreenGUI.php.
Referenced by ilObjRemoteCourseGUI\addCustomInfoFields(), ilObjRemoteFileGUI\addCustomInfoFields(), ilObjRemoteGlossaryGUI\addCustomInfoFields(), ilObjRemoteGroupGUI\addCustomInfoFields(), ilObjRemoteLearningModuleGUI\addCustomInfoFields(), ilObjRemoteTestGUI\addCustomInfoFields(), ilObjRemoteWikiGUI\addCustomInfoFields(), ilExAssignmentGUI\addFiles(), ilExAssignmentGUI\addInstructions(), addMetaDataSections(), addObjectSections(), ilExAssignmentGUI\addPublicSubmissions(), ilExAssignmentGUI\addSchedule(), ilExAssignmentGUI\addSubmission(), ilExAssignmentGUI\addSubmissionFeedback(), addTagging(), ilExPeerReviewGUI\getOverviewContent(), ilExSubmissionFileGUI\getOverviewContent(), ilExSubmissionTeamGUI\getOverviewContent(), ilExSubmissionTextGUI\getOverviewContent(), ilExSubmissionObjectGUI\getOverviewContentBlog(), ilExSubmissionObjectGUI\getOverviewContentPortfolio(), ilExPeerReviewGUI\renderInfoWidget(), and showLDAPRoleGroupMappingInfo().
Here is the caller graph for this function:| 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 230 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::addPropertyTextinput | ( | $a_name, | |
| $a_input_name, | |||
$a_input_value = "", |
|||
$a_input_size = "", |
|||
$direct_button_command = "", |
|||
$direct_button_label = "", |
|||
$direct_button_primary = false |
|||
| ) |
add a property to current section
Definition at line 249 of file class.ilInfoScreenGUI.php.
References ilUtil\prepareFormOutput().
Here is the call graph for this function:| ilInfoScreenGUI::addSection | ( | $a_title | ) |
add a new section
Definition at line 190 of file class.ilInfoScreenGUI.php.
Referenced by ilExAssignmentGUI\addFiles(), ilExAssignmentGUI\addInstructions(), addMetaDataSections(), addObjectSections(), ilExAssignmentGUI\addSchedule(), ilExAssignmentGUI\addSubmission(), ilExAssignmentGUI\addSubmissionFeedback(), addTagging(), ilExPeerReviewGUI\renderInfoWidget(), and showLDAPRoleGroupMappingInfo().
Here is the caller graph for this function:| ilInfoScreenGUI::addTagging | ( | ) |
Add tagging.
Definition at line 1173 of file class.ilInfoScreenGUI.php.
References $ilCtrl, $lng, addProperty(), and addSection().
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInfoScreenGUI::enableFeedback | ( | $a_enable = true | ) |
enable feedback
Definition at line 149 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::enableLearningProgress | ( | $a_enable = true | ) |
enable learning progress
Definition at line 140 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::enableNews | ( | $a_enable = true | ) |
enable news
Definition at line 157 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::enableNewsEditing | ( | $a_enable = true | ) |
enable news editing
Definition at line 165 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::enablePrivateNotes | ( | $a_enable = true | ) |
enable notes
Definition at line 132 of file class.ilInfoScreenGUI.php.
| & ilInfoScreenGUI::executeCommand | ( | ) |
execute command
Definition at line 64 of file class.ilInfoScreenGUI.php.
References $_GET, $cmd, $html, $tpl, ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), setTabs(), and showSummary().
Here is the call graph for this function:| ilInfoScreenGUI::getAllBlockProperties | ( | ) |
Definition at line 182 of file class.ilInfoScreenGUI.php.
Referenced by setColumnSettings().
Here is the caller graph for this function:| ilInfoScreenGUI::getCenterColumnHTML | ( | ) |
Display center column.
Definition at line 644 of file class.ilInfoScreenGUI.php.
References $html, $ilCtrl, getHTML(), IL_COL_CENTER, IL_COL_LEFT, IL_COL_RIGHT, IL_SCREEN_SIDE, and setColumnSettings().
Referenced by showSummary().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInfoScreenGUI::getHiddenToggleButton | ( | ) |
Definition at line 1217 of file class.ilInfoScreenGUI.php.
References $lng.
| ilInfoScreenGUI::getHTML | ( | ) |
get html
Definition at line 736 of file class.ilInfoScreenGUI.php.
References $html, $ilCtrl, $ilSetting, $ilUser, $lng, $tpl, addButton(), addObjectSections(), addTagging(), getTableClass(), iljQueryUtil\initjQuery(), setFormAction(), showLearningProgress(), and showNotesSection().
Referenced by getCenterColumnHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInfoScreenGUI::getRightColumnHTML | ( | ) |
Display right column.
Definition at line 683 of file class.ilInfoScreenGUI.php.
References $html, $ilCtrl, $ilUser, $lng, IL_COL_RIGHT, IL_SCREEN_SIDE, and setColumnSettings().
Referenced by showSummary().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInfoScreenGUI::getTableClass | ( | ) |
Get table class.
Definition at line 124 of file class.ilInfoScreenGUI.php.
References $table_class.
Referenced by getHTML().
Here is the caller graph for this function:| ilInfoScreenGUI::getTabs | ( | & | $tabs_gui | ) |
get tabs
Definition at line 1154 of file class.ilInfoScreenGUI.php.
References $ilUser.
Referenced by setTabs().
Here is the caller graph for this function:| ilInfoScreenGUI::hideFurtherSections | ( | $a_add_toggle = true | ) |
Definition at line 1211 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 42 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::removeFormAction | ( | ) |
remove form action
Definition at line 208 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::saveProgress | ( | ) |
Definition at line 1023 of file class.ilInfoScreenGUI.php.
References $_POST, $GLOBALS, $ilUser, ilLPStatusWrapper\_updateStatus(), ilObjectLP\getInstance(), ilLPObjSettings\LP_MODE_MANUAL, ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilInfoScreenGUI::saveTags | ( | ) |
Definition at line 1197 of file class.ilInfoScreenGUI.php.
References ilUtil\sendSuccess().
Here is the call graph for this function:| 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 177 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::setCloseFormTag | ( | $a_val | ) |
Definition at line 728 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::setColumnSettings | ( | $column_gui | ) |
Set column settings.
Definition at line 714 of file class.ilInfoScreenGUI.php.
References $lng, and getAllBlockProperties().
Referenced by getCenterColumnHTML(), and getRightColumnHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInfoScreenGUI::setFormAction | ( | $a_form_action | ) |
set a form action
Definition at line 200 of file class.ilInfoScreenGUI.php.
Referenced by getHTML().
Here is the caller graph for this function:| ilInfoScreenGUI::setOpenFormTag | ( | $a_val | ) |
Definition at line 723 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::setTableClass | ( | $a_val | ) |
Set table class.
| string | table class |
Definition at line 114 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::setTabs | ( | ) |
Definition at line 1144 of file class.ilInfoScreenGUI.php.
References $tpl, and getTabs().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInfoScreenGUI::showLDAPRoleGroupMappingInfo | ( | $a_section = '' | ) |
show LDAP role group mapping info
@access public
| string | section name. Leave empty to place this info string inside a section |
Definition at line 1118 of file class.ilInfoScreenGUI.php.
References ilLDAPRoleGroupMapping\_getInstance(), addProperty(), and addSection().
Here is the call graph for this function:| ilInfoScreenGUI::showLearningProgress | ( | $a_tpl | ) |
Definition at line 912 of file class.ilInfoScreenGUI.php.
References $ilUser, ilObjUserTracking\_enabledLearningProgress(), ilLearningProgress\_getProgress(), ilLPMarks\_hasCompleted(), ilFormat\_secondsToString(), ilDatePresentation\formatDate(), ilUtil\formSelect(), ilObjectLP\getInstance(), IL_CAL_UNIX, and ilLPObjSettings\LP_MODE_MANUAL.
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInfoScreenGUI::showNotesSection | ( | ) |
show notes section
Definition at line 1060 of file class.ilInfoScreenGUI.php.
References $html, $ilSetting, and $ref_id.
Referenced by getHTML().
Here is the caller graph for this function:| ilInfoScreenGUI::showSummary | ( | ) |
show summary page
Definition at line 632 of file class.ilInfoScreenGUI.php.
References $tpl, getCenterColumnHTML(), and getRightColumnHTML().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInfoScreenGUI::$close_form_tag = true |
Definition at line 29 of file class.ilInfoScreenGUI.php.
| 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 34 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::$open_form_tag = true |
Definition at line 28 of file class.ilInfoScreenGUI.php.
| 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.