ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilInfoScreenGUI. More...
Public Member Functions | |
__construct ($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 | |
$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... | |
Protected Attributes | |
$tabs_gui | |
$rbacsystem | |
$tpl | |
$access | |
$user | |
$tree | |
$settings | |
Class ilInfoScreenGUI.
ilInfoScreenGUI: ilNoteGUI, ilColumnGUI, ilPublicUserProfileGUI ilInfoScreenGUI: ilCommonActionDispatcherGUI
Definition at line 18 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::__construct | ( | $a_gui_object | ) |
Constructor.
object | $a_gui_object | GUI instance of related object (ilCouseGUI, ilTestGUI, ...) |
Definition at line 76 of file class.ilInfoScreenGUI.php.
References $DIC, $ilCtrl, $lng, array, settings(), and user().
ilInfoScreenGUI::addButton | ( | $a_title, | |
$a_link, | |||
$a_frame = "" , |
|||
$a_position = "top" , |
|||
$a_primary = false |
|||
) |
add a property to current section
Definition at line 313 of file class.ilInfoScreenGUI.php.
References array.
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 325 of file class.ilInfoScreenGUI.php.
References array.
ilInfoScreenGUI::addHiddenElement | ( | $a_name, | |
$a_value | |||
) |
ilInfoScreenGUI::addMetaDataSections | ( | $a_rep_obj_id, | |
$a_obj_id, | |||
$a_type | |||
) |
add standard meta data sections
Definition at line 343 of file class.ilInfoScreenGUI.php.
References $a_type, $description, $id, $lng, ilMDUtils\_parseCopyright(), addProperty(), addSection(), array, and ilDatePresentation\secondsToString().
ilInfoScreenGUI::addObjectSections | ( | ) |
add standard object section
Definition at line 461 of file class.ilInfoScreenGUI.php.
References $access, $ctrl, $ilCtrl, $ilUser, $links, $lng, $r, $size, $tree, $type, $user, ilObject\_getAllReferences(), ilDAVActivationChecker\_isActive(), ilDiskQuotaActivationChecker\_isActive(), ilChangeEvent\_isActive(), ilChangeEvent\_lookupReadEvents(), addProperty(), addSection(), array, ilDatePresentation\formatDate(), ilUtil\formatSize(), ilECSServerSettings\getInstance(), ilObjectFactory\getInstanceByObjId(), IL_CAL_DATETIME, and ilObjUser\userExists().
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 261 of file class.ilInfoScreenGUI.php.
References array.
Referenced by ilObjIndividualAssessmentGUI\addContactDataToInfo(), ilObjRemoteCourseGUI\addCustomInfoFields(), ilObjRemoteGroupGUI\addCustomInfoFields(), ilObjRemoteTestGUI\addCustomInfoFields(), ilObjRemoteFileGUI\addCustomInfoFields(), ilObjRemoteGlossaryGUI\addCustomInfoFields(), ilObjRemoteLearningModuleGUI\addCustomInfoFields(), ilObjRemoteWikiGUI\addCustomInfoFields(), ilExAssignmentGUI\addFiles(), ilObjIndividualAssessmentGUI\addGeneralDataToInfo(), ilExAssignmentGUI\addInstructions(), ilObjIndividualAssessmentGUI\addMemberDataToInfo(), addMetaDataSections(), addObjectSections(), ilExAssignmentGUI\addPublicSubmissions(), ilExAssignmentGUI\addSchedule(), ilExAssignmentGUI\addSubmission(), ilExAssignmentGUI\addSubmissionFeedback(), addTagging(), ilExSubmissionTextGUI\getOverviewContent(), ilExSubmissionFileGUI\getOverviewContent(), ilExSubmissionTeamGUI\getOverviewContent(), ilExPeerReviewGUI\getOverviewContent(), ilExSubmissionObjectGUI\getOverviewContentBlog(), ilExSubmissionObjectGUI\getOverviewContentPortfolio(), ilExPeerReviewGUI\renderInfoWidget(), 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 271 of file class.ilInfoScreenGUI.php.
References array.
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 288 of file class.ilInfoScreenGUI.php.
References array, and ilUtil\prepareFormOutput().
ilInfoScreenGUI::addSection | ( | $a_title | ) |
add a new section
Definition at line 231 of file class.ilInfoScreenGUI.php.
Referenced by ilObjIndividualAssessmentGUI\addContactDataToInfo(), ilExAssignmentGUI\addFiles(), ilObjIndividualAssessmentGUI\addGeneralDataToInfo(), ilExAssignmentGUI\addInstructions(), ilObjIndividualAssessmentGUI\addMemberDataToInfo(), addMetaDataSections(), addObjectSections(), ilExAssignmentGUI\addSchedule(), ilExAssignmentGUI\addSubmission(), ilExAssignmentGUI\addSubmissionFeedback(), addTagging(), ilExPeerReviewGUI\renderInfoWidget(), and showLDAPRoleGroupMappingInfo().
ilInfoScreenGUI::addTagging | ( | ) |
Add tagging.
Definition at line 1125 of file class.ilInfoScreenGUI.php.
References $ctrl, $ilCtrl, $lng, addProperty(), and addSection().
Referenced by getHTML().
ilInfoScreenGUI::enableFeedback | ( | $a_enable = true | ) |
enable feedback
Definition at line 190 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enableLearningProgress | ( | $a_enable = true | ) |
enable learning progress
Definition at line 181 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enableNews | ( | $a_enable = true | ) |
enable news
Definition at line 198 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enableNewsEditing | ( | $a_enable = true | ) |
enable news editing
Definition at line 206 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enablePrivateNotes | ( | $a_enable = true | ) |
enable notes
Definition at line 173 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::executeCommand | ( | ) |
execute command
Definition at line 107 of file class.ilInfoScreenGUI.php.
References $_GET, $access, $html, $rbacsystem, $tpl, ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), setTabs(), and showSummary().
ilInfoScreenGUI::getAllBlockProperties | ( | ) |
Definition at line 223 of file class.ilInfoScreenGUI.php.
Referenced by setColumnSettings().
ilInfoScreenGUI::getCenterColumnHTML | ( | ) |
Display center column.
Definition at line 638 of file class.ilInfoScreenGUI.php.
References $ctrl, $html, $ilCtrl, getHTML(), IL_COL_CENTER, IL_COL_LEFT, IL_COL_RIGHT, IL_SCREEN_SIDE, and setColumnSettings().
Referenced by showSummary().
ilInfoScreenGUI::getHiddenToggleButton | ( | ) |
ilInfoScreenGUI::getHTML | ( | ) |
get html
Definition at line 722 of file class.ilInfoScreenGUI.php.
References $access, $ctrl, $html, $i, $ilCtrl, $ilSetting, $ilUser, $lng, $settings, $tpl, $tree, $user, addButton(), addObjectSections(), addTagging(), getTableClass(), iljQueryUtil\initjQuery(), setFormAction(), showLearningProgress(), and showNotesSection().
Referenced by getCenterColumnHTML().
ilInfoScreenGUI::getRightColumnHTML | ( | ) |
Display right column.
Definition at line 671 of file class.ilInfoScreenGUI.php.
References $ctrl, $html, $ilCtrl, $ilUser, $lng, $user, IL_COL_RIGHT, IL_SCREEN_SIDE, and setColumnSettings().
Referenced by showSummary().
ilInfoScreenGUI::getTableClass | ( | ) |
Get table class.
Definition at line 165 of file class.ilInfoScreenGUI.php.
References $table_class.
Referenced by getHTML().
ilInfoScreenGUI::getTabs | ( | & | $tabs_gui | ) |
get tabs
Definition at line 1100 of file class.ilInfoScreenGUI.php.
References $access, $ilUser, $rbacsystem, $tabs_gui, $user, and array.
Referenced by setTabs().
ilInfoScreenGUI::hideFurtherSections | ( | $a_add_toggle = true | ) |
Definition at line 1171 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::removeFormAction | ( | ) |
remove form action
Definition at line 249 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::saveProgress | ( | ) |
Definition at line 990 of file class.ilInfoScreenGUI.php.
References $_POST, $ilUser, $user, ilLPStatusWrapper\_updateStatus(), ilUtil\sendSuccess(), and ilLPMarks\setCompleted().
ilInfoScreenGUI::saveTags | ( | ) |
Definition at line 1155 of file class.ilInfoScreenGUI.php.
References ilUtil\sendSuccess().
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 218 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::setCloseFormTag | ( | $a_val | ) |
Definition at line 714 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::setColumnSettings | ( | $column_gui | ) |
Set column settings.
Definition at line 699 of file class.ilInfoScreenGUI.php.
References $access, $lng, and getAllBlockProperties().
Referenced by getCenterColumnHTML(), and getRightColumnHTML().
ilInfoScreenGUI::setFormAction | ( | $a_form_action | ) |
set a form action
Definition at line 241 of file class.ilInfoScreenGUI.php.
Referenced by getHTML().
ilInfoScreenGUI::setOpenFormTag | ( | $a_val | ) |
Definition at line 709 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::setTableClass | ( | $a_val | ) |
Set table class.
string | table class |
Definition at line 155 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::setTabs | ( | ) |
Definition at line 1090 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 1068 of file class.ilInfoScreenGUI.php.
References $counter, ilLDAPRoleGroupMapping\_getInstance(), addProperty(), and addSection().
ilInfoScreenGUI::showLearningProgress | ( | $a_tpl | ) |
Definition at line 873 of file class.ilInfoScreenGUI.php.
References $ilUser, $rbacsystem, $user, ilObjUserTracking\_enabledLearningProgress(), ilLearningProgress\_getProgress(), ilLPMarks\_hasCompleted(), array, ilDatePresentation\formatDate(), ilUtil\formSelect(), ilObjectLP\getInstance(), IL_CAL_UNIX, ilLPObjSettings\LP_MODE_MANUAL, and ilDatePresentation\secondsToString().
Referenced by getHTML().
ilInfoScreenGUI::showNotesSection | ( | ) |
show notes section
Definition at line 1014 of file class.ilInfoScreenGUI.php.
References $access, $html, $ilSetting, $settings, and ilNoteGUI\enablePublicNotes().
Referenced by getHTML().
ilInfoScreenGUI::showSummary | ( | ) |
show summary page
Definition at line 625 of file class.ilInfoScreenGUI.php.
References $access, $tpl, getCenterColumnHTML(), and getRightColumnHTML().
Referenced by executeCommand().
|
protected |
Definition at line 38 of file class.ilInfoScreenGUI.php.
Referenced by addObjectSections(), executeCommand(), getHTML(), getTabs(), setColumnSettings(), showNotesSection(), and showSummary().
ilInfoScreenGUI::$close_form_tag = true |
Definition at line 63 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::$ctrl |
Definition at line 56 of file class.ilInfoScreenGUI.php.
Referenced by addObjectSections(), addTagging(), getCenterColumnHTML(), getHTML(), and getRightColumnHTML().
ilInfoScreenGUI::$form_action |
a form action parameter.
if set a form is generated
Definition at line 68 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::$gui_object |
Definition at line 57 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::$hiddenelements = array() |
Definition at line 60 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::$lng |
Definition at line 55 of file class.ilInfoScreenGUI.php.
Referenced by __construct(), addMetaDataSections(), addObjectSections(), addTagging(), getHiddenToggleButton(), getHTML(), getRightColumnHTML(), and setColumnSettings().
ilInfoScreenGUI::$open_form_tag = true |
Definition at line 62 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 28 of file class.ilInfoScreenGUI.php.
Referenced by executeCommand(), getTabs(), and showLearningProgress().
|
protected |
Definition at line 53 of file class.ilInfoScreenGUI.php.
Referenced by getHTML(), and showNotesSection().
ilInfoScreenGUI::$table_class = "il_InfoScreen" |
Definition at line 61 of file class.ilInfoScreenGUI.php.
Referenced by getTableClass().
|
protected |
Definition at line 23 of file class.ilInfoScreenGUI.php.
Referenced by getTabs().
ilInfoScreenGUI::$top_buttons = array() |
Definition at line 58 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::$top_formbuttons = array() |
Definition at line 59 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 33 of file class.ilInfoScreenGUI.php.
Referenced by executeCommand(), getHTML(), setTabs(), and showSummary().
|
protected |
Definition at line 48 of file class.ilInfoScreenGUI.php.
Referenced by addObjectSections(), and getHTML().
|
protected |
Definition at line 43 of file class.ilInfoScreenGUI.php.
Referenced by addObjectSections(), getHTML(), getRightColumnHTML(), getTabs(), saveProgress(), and showLearningProgress().