|
ILIAS
release_8 Revision v8.24
|
Class ilInfoScreenGUI. More...
Collaboration diagram for ilInfoScreenGUI:Public Member Functions | |
| __construct (?object $a_gui_object=null) | |
| executeCommand () | |
| setMessageBox (ILIAS\UI\Component\MessageBox\MessageBox $a_val) | |
| getMessageBox () | |
| setTableClass (string $a_val) | |
| getTableClass () | |
| enablePrivateNotes (bool $a_enable=true) | |
| enableLearningProgress (bool $a_enable=true) | |
| enableAvailability (bool $a_enable=true) | |
| enableBookingInfo (bool $a_enable=true) | |
| enableFeedback (bool $a_enable=true) | |
| enableNews (bool $a_enable=true) | |
| enableNewsEditing (bool $a_enable=true) | |
| setBlockProperty (string $a_block_type, string $a_property, string $a_value) | |
| This function is supposed to be used for block type specific properties, that should be passed to ilBlockGUI->setProperty. More... | |
| getAllBlockProperties () | |
| addSection (string $a_title) | |
| setFormAction (string $a_form_action) | |
| removeFormAction () | |
| addProperty (string $a_name, string $a_value, string $a_link="") | |
| add a property to current section More... | |
| addPropertyCheckbox (string $a_name, string $a_checkbox_name, string $a_checkbox_value, string $a_checkbox_label="", bool $a_checkbox_checked=false) | |
| addPropertyTextinput (string $a_name, string $a_input_name, string $a_input_value="", string $a_input_size="", string $direct_button_command="", string $direct_button_label="", bool $direct_button_primary=false) | |
| addButton (string $a_title, string $a_link, string $a_frame="", string $a_position="top", bool $a_primary=false) | |
| @inheritDoc More... | |
| addFormButton (string $a_command, string $a_title, string $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 (string $a_name, string $a_value) | |
| addMetaDataSections (int $a_rep_obj_id, int $a_obj_id, string $a_type) | |
| showSummary () | |
| getCenterColumnHTML () | |
| getRightColumnHTML () | |
| setColumnSettings (ilColumnGUI $column_gui) | |
| Set column settings. More... | |
| setOpenFormTag (bool $a_val) | |
| setCloseFormTag (bool $a_val) | |
| getHTML () | |
| getContextRefId () | |
| setContextRefId (int $contextRefId) | |
| getContextObjId () | |
| setContextObjId (int $contextObjId) | |
| getContentObjType () | |
| setContentObjType (string $contentObjType) | |
| showLearningProgress (ilTemplate $a_tpl) | |
| saveProgress (bool $redirect=true) | |
| showNotesSection () | |
| showLDAPRoleGroupMappingInfo (string $a_section='') | |
| setTabs () | |
| getTabs (ilTabsGUI $tabs_gui) | |
| addTagging () | |
| saveTags () | |
| hideFurtherSections (bool $a_add_toggle=true) | |
| getHiddenToggleButton () | |
| addAccessPeriodProperty () | |
Data Fields | |
| ilLanguage | $lng |
| ilCtrl | $ctrl |
| object | $gui_object |
| array | $top_buttons = array() |
| array | $top_formbuttons = array() |
| array | $hiddenelements = array() |
| string | $table_class = "il_InfoScreen" |
| bool | $open_form_tag = true |
| bool | $close_form_tag = true |
| string | $form_action |
Protected Member Functions | |
| addAvailability () | |
| addPreconditions () | |
| Add preconditions. More... | |
| addPreconditionSection (ilObject $obj, array $conditions, bool $obligatory=true) | |
Protected Attributes | |
| ILIAS DI UIServices | $ui |
| ILIAS UI Component MessageBox MessageBox | $mbox = null |
| ilTabsGUI | $tabs_gui |
| ilRbacSystem | $rbacsystem |
| ilGlobalPageTemplate | $tpl |
| ilAccessHandler | $access |
| ilObjUser | $user |
| ilTree | $tree |
| ilSetting | $settings |
| int | $contextRefId = null |
| int | $contextObjId = null |
| string | $contentObjType = null |
| bool | $booking_enabled = false |
| bool | $availability_enabled = true |
| bool | $hidden = false |
| array | $section = [] |
| array | $block_property = [] |
| bool | $news_editing = false |
| bool | $show_hidden_toggle = false |
| int | $sec_nr = 0 |
| bool | $private_notes_enabled = false |
| bool | $news_enabled = false |
| bool | $feedback_enabled = false |
| bool | $learning_progress_enabled = false |
| StandardGUIRequest | $request |
Class ilInfoScreenGUI.
Definition at line 30 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::__construct | ( | ?object | $a_gui_object = null | ) |
Definition at line 69 of file class.ilInfoScreenGUI.php.
References $DIC, $lng, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\settings(), ILIAS\Repository\ui(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilInfoScreenGUI::addAccessPeriodProperty | ( | ) |
| ilDatabaseException | |
| ilDateTimeException |
Definition at line 1272 of file class.ilInfoScreenGUI.php.
References ilDatePresentation\formatPeriod(), IL_CAL_UNIX, ILIAS\Repository\lng(), and ilObjectActivation\TIMINGS_ACTIVATION.
Here is the call graph for this function:
|
protected |
| ilDatabaseException | |
| ilDateTimeException |
Definition at line 1133 of file class.ilInfoScreenGUI.php.
References ILIAS\Repository\lng(), and ilObjectActivation\TIMINGS_ACTIVATION.
Here is the call graph for this function:| ilInfoScreenGUI::addButton | ( | string | $a_title, |
| string | $a_link, | ||
| string | $a_frame = "", |
||
| string | $a_position = "top", |
||
| bool | $a_primary = false |
||
| ) |
@inheritDoc
Definition at line 304 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::addFormButton | ( | string | $a_command, |
| string | $a_title, | ||
| string | $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 321 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::addHiddenElement | ( | string | $a_name, |
| string | $a_value | ||
| ) |
Definition at line 331 of file class.ilInfoScreenGUI.php.
Referenced by ILIAS\Survey\InfoScreen\InfoScreenGUI\addStartResumeSection().
Here is the caller graph for this function:| ilInfoScreenGUI::addMetaDataSections | ( | int | $a_rep_obj_id, |
| int | $a_obj_id, | ||
| string | $a_type | ||
| ) |
Definition at line 336 of file class.ilInfoScreenGUI.php.
References $id, $lng, ilMDUtils\_getDefaultCopyright(), ilMDUtils\_parseCopyright(), and ilDatePresentation\secondsToString().
Here is the call graph for this function:
|
protected |
Add preconditions.
Definition at line 1160 of file class.ilInfoScreenGUI.php.
References $i, ilObject\_lookupTitle(), and ilArrayUtil\sortArray().
Here is the call graph for this function:
|
protected |
Definition at line 1189 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::addProperty | ( | string | $a_name, |
| string | $a_value, | ||
| string | $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 240 of file class.ilInfoScreenGUI.php.
References $sec_nr.
Referenced by ILIAS\Survey\InfoScreen\InfoScreenGUI\addAppraiseeInfo(), ilObjIndividualAssessmentGUI\addContactDataToInfo(), ilObjRemoteCourseGUI\addCustomInfoFields(), ilObjRemoteFileGUI\addCustomInfoFields(), ilObjRemoteGlossaryGUI\addCustomInfoFields(), ilObjRemoteGroupGUI\addCustomInfoFields(), ilObjRemoteLearningModuleGUI\addCustomInfoFields(), ilObjRemoteTestGUI\addCustomInfoFields(), ilObjRemoteWikiGUI\addCustomInfoFields(), ilExAssignmentGUI\addFiles(), ilObjIndividualAssessmentGUI\addGeneralDataToInfo(), ilObjIndividualAssessmentGUI\addMemberDataToInfo(), ILIAS\Survey\InfoScreen\InfoScreenGUI\addStartResumeSection(), ilResourceStorageInfoGUI\append(), ilAppointmentPresentationGUI\getHTML(), ilExPeerReviewGUI\renderInfoWidget(), and ilExAssTypeWikiTeamGUI\renderOverviewContent().
Here is the caller graph for this function:| ilInfoScreenGUI::addPropertyCheckbox | ( | string | $a_name, |
| string | $a_checkbox_name, | ||
| string | $a_checkbox_value, | ||
| string | $a_checkbox_label = "", |
||
| bool | $a_checkbox_checked = false |
||
| ) |
Definition at line 250 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::addPropertyTextinput | ( | string | $a_name, |
| string | $a_input_name, | ||
| string | $a_input_value = "", |
||
| string | $a_input_size = "", |
||
| string | $direct_button_command = "", |
||
| string | $direct_button_label = "", |
||
| bool | $direct_button_primary = false |
||
| ) |
Definition at line 272 of file class.ilInfoScreenGUI.php.
References ilLegacyFormElementsUtil\prepareFormOutput().
Here is the call graph for this function:| ilInfoScreenGUI::addSection | ( | string | $a_title | ) |
Definition at line 216 of file class.ilInfoScreenGUI.php.
References $hidden, and $sec_nr.
Referenced by ilBookingInfoScreenAdapter\add(), ILIAS\Survey\InfoScreen\InfoScreenGUI\addAppraiseeInfo(), ilObjIndividualAssessmentGUI\addContactDataToInfo(), ilExAssignmentGUI\addFiles(), ilObjIndividualAssessmentGUI\addGeneralDataToInfo(), ilObjIndividualAssessmentGUI\addMemberDataToInfo(), ILIAS\Survey\InfoScreen\InfoScreenGUI\addStartResumeSection(), ilResourceStorageInfoGUI\append(), ilAppointmentPresentationGUI\getHTML(), and ilExPeerReviewGUI\renderInfoWidget().
Here is the caller graph for this function:| ilInfoScreenGUI::addTagging | ( | ) |
Definition at line 1074 of file class.ilInfoScreenGUI.php.
References $lng.
| ilInfoScreenGUI::enableAvailability | ( | bool | $a_enable = true | ) |
Definition at line 176 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::enableBookingInfo | ( | bool | $a_enable = true | ) |
Definition at line 181 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::enableFeedback | ( | bool | $a_enable = true | ) |
Definition at line 187 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::enableLearningProgress | ( | bool | $a_enable = true | ) |
Definition at line 171 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::enableNews | ( | bool | $a_enable = true | ) |
Definition at line 192 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::enableNewsEditing | ( | bool | $a_enable = true | ) |
Definition at line 197 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::enablePrivateNotes | ( | bool | $a_enable = true | ) |
Definition at line 166 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::executeCommand | ( | ) |
Definition at line 103 of file class.ilInfoScreenGUI.php.
References $tpl, ILIAS\Repository\ctrl(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), ilGlobalPageTemplate\setContent(), setTabs(), showNotesSection(), and showSummary().
Here is the call graph for this function:| ilInfoScreenGUI::getAllBlockProperties | ( | ) |
Definition at line 211 of file class.ilInfoScreenGUI.php.
References $block_property.
| ilInfoScreenGUI::getCenterColumnHTML | ( | ) |
Definition at line 634 of file class.ilInfoScreenGUI.php.
References IL_COL_CENTER, IL_COL_LEFT, IL_COL_RIGHT, and IL_SCREEN_SIDE.
| ilInfoScreenGUI::getContentObjType | ( | ) |
Definition at line 897 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::getContextObjId | ( | ) |
Definition at line 883 of file class.ilInfoScreenGUI.php.
Referenced by ilBookingInfoScreenAdapter\__construct().
Here is the caller graph for this function:| ilInfoScreenGUI::getContextRefId | ( | ) |
Definition at line 869 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::getHiddenToggleButton | ( | ) |
Definition at line 1121 of file class.ilInfoScreenGUI.php.
References $lng.
| ilInfoScreenGUI::getHTML | ( | ) |
Definition at line 713 of file class.ilInfoScreenGUI.php.
References $i, $ilSetting, $ilUser, $lng, ILIAS\LTI\ToolProvider\$settings, $tpl, ANONYMOUS_USER_ID, iljQueryUtil\initjQuery(), and ILIAS\Repository\ui().
Referenced by ilCalendarAppointmentPresentationGUI\getModalHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInfoScreenGUI::getMessageBox | ( | ) |
Definition at line 150 of file class.ilInfoScreenGUI.php.
References $mbox.
| ilInfoScreenGUI::getRightColumnHTML | ( | ) |
| ilCtrlException |
Definition at line 667 of file class.ilInfoScreenGUI.php.
References IL_COL_RIGHT, and IL_SCREEN_SIDE.
| ilInfoScreenGUI::getTableClass | ( | ) |
Definition at line 161 of file class.ilInfoScreenGUI.php.
References $table_class.
| ilInfoScreenGUI::getTabs | ( | ilTabsGUI | $tabs_gui | ) |
Definition at line 1058 of file class.ilInfoScreenGUI.php.
References ilTabsGUI\addSubTabTarget(), and ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilInfoScreenGUI::hideFurtherSections | ( | bool | $a_add_toggle = true | ) |
Definition at line 1115 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::removeFormAction | ( | ) |
Definition at line 228 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::saveProgress | ( | bool | $redirect = true | ) |
Definition at line 949 of file class.ilInfoScreenGUI.php.
References $ilUser, ilObject\_lookupType(), ilLearningProgress\_tracProgress(), ilLPStatusWrapper\_updateStatus(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilInfoScreenGUI::saveTags | ( | ) |
Definition at line 1102 of file class.ilInfoScreenGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilInfoScreenGUI::setBlockProperty | ( | string | $a_block_type, |
| string | $a_property, | ||
| string | $a_value | ||
| ) |
This function is supposed to be used for block type specific properties, that should be passed to ilBlockGUI->setProperty.
Definition at line 206 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::setCloseFormTag | ( | bool | $a_val | ) |
Definition at line 701 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::setColumnSettings | ( | ilColumnGUI | $column_gui | ) |
Set column settings.
Definition at line 689 of file class.ilInfoScreenGUI.php.
References ilColumnGUI\setAllBlockProperties(), ilColumnGUI\setEnableEdit(), and ilColumnGUI\setRepositoryMode().
Here is the call graph for this function:| ilInfoScreenGUI::setContentObjType | ( | string | $contentObjType | ) |
Definition at line 906 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::setContextObjId | ( | int | $contextObjId | ) |
Definition at line 892 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::setContextRefId | ( | int | $contextRefId | ) |
Definition at line 878 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::setFormAction | ( | string | $a_form_action | ) |
Definition at line 223 of file class.ilInfoScreenGUI.php.
Referenced by ilCalendarAppointmentPresentationGUI\getModalHTML().
Here is the caller graph for this function:| ilInfoScreenGUI::setMessageBox | ( | ILIAS\UI\Component\MessageBox\MessageBox | $a_val | ) |
Definition at line 145 of file class.ilInfoScreenGUI.php.
Referenced by ILIAS\Survey\InfoScreen\InfoScreenGUI\displayNotStartableReasons().
Here is the caller graph for this function:| ilInfoScreenGUI::setOpenFormTag | ( | bool | $a_val | ) |
Definition at line 696 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::setTableClass | ( | string | $a_val | ) |
Definition at line 156 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::setTabs | ( | ) |
Definition at line 1053 of file class.ilInfoScreenGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:| ilInfoScreenGUI::showLDAPRoleGroupMappingInfo | ( | string | $a_section = '' | ) |
| string | $a_section | section name. Leave empty to place this info string inside a section |
Definition at line 1033 of file class.ilInfoScreenGUI.php.
References ilLDAPRoleGroupMapping\_getInstance(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilInfoScreenGUI::showLearningProgress | ( | ilTemplate | $a_tpl | ) |
| ilTemplate | $a_tpl |
| ilDateTimeException |
Definition at line 915 of file class.ilInfoScreenGUI.php.
References $ilUser, ilObjUserTracking\_enabledLearningProgress(), ANONYMOUS_USER_ID, ilRbacSystem\checkAccess(), ilObjectLP\getInstance(), ILIAS\Repository\lng(), ilLPObjSettings\LP_MODE_MANUAL, ilTemplate\parseCurrentBlock(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:| ilInfoScreenGUI::showNotesSection | ( | ) |
| ilCtrlException |
Definition at line 980 of file class.ilInfoScreenGUI.php.
References $DIC, $ilSetting, $ref_id, ILIAS\LTI\ToolProvider\$settings, and ILIAS\Repository\ctrl().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInfoScreenGUI::showSummary | ( | ) |
Definition at line 618 of file class.ilInfoScreenGUI.php.
References $tpl.
Referenced by executeCommand().
Here is the caller graph for this function:
|
protected |
Definition at line 37 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 55 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 58 of file class.ilInfoScreenGUI.php.
Referenced by getAllBlockProperties().
|
protected |
Definition at line 54 of file class.ilInfoScreenGUI.php.
| bool ilInfoScreenGUI::$close_form_tag = true |
Definition at line 49 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 52 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 51 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 50 of file class.ilInfoScreenGUI.php.
| ilCtrl ilInfoScreenGUI::$ctrl |
Definition at line 42 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 64 of file class.ilInfoScreenGUI.php.
| string ilInfoScreenGUI::$form_action |
Definition at line 53 of file class.ilInfoScreenGUI.php.
| object ilInfoScreenGUI::$gui_object |
Definition at line 43 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 56 of file class.ilInfoScreenGUI.php.
Referenced by addSection().
| array ilInfoScreenGUI::$hiddenelements = array() |
Definition at line 46 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 65 of file class.ilInfoScreenGUI.php.
| ilLanguage ilInfoScreenGUI::$lng |
Definition at line 41 of file class.ilInfoScreenGUI.php.
Referenced by __construct().
|
protected |
Definition at line 33 of file class.ilInfoScreenGUI.php.
Referenced by getMessageBox().
|
protected |
Definition at line 59 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 63 of file class.ilInfoScreenGUI.php.
| bool ilInfoScreenGUI::$open_form_tag = true |
Definition at line 48 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 62 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 35 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 66 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 61 of file class.ilInfoScreenGUI.php.
Referenced by addProperty(), and addSection().
|
protected |
Definition at line 57 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 40 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 60 of file class.ilInfoScreenGUI.php.
| string ilInfoScreenGUI::$table_class = "il_InfoScreen" |
Definition at line 47 of file class.ilInfoScreenGUI.php.
Referenced by getTableClass().
|
protected |
Definition at line 34 of file class.ilInfoScreenGUI.php.
| array ilInfoScreenGUI::$top_buttons = array() |
Definition at line 44 of file class.ilInfoScreenGUI.php.
| array ilInfoScreenGUI::$top_formbuttons = array() |
Definition at line 45 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 36 of file class.ilInfoScreenGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 39 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 32 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 38 of file class.ilInfoScreenGUI.php.