ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Class ilInfoScreenGUI. More...
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... | |
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) | |
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) | |
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 | |
buildPublicAccessExportButton (int $rep_obj_id, int $obj_id) | |
addAvailability () | |
addPreconditions () | |
Add preconditions. More... | |
addPreconditionSection (ilObject $obj, array $conditions, bool $obligatory=true) | |
Protected Attributes | |
ILIAS Repository HTML HTMLUtil | $html |
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 |
Metadata | $metadata |
DataFactory | $data_factory |
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 34 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::__construct | ( | ?object | $a_gui_object = null | ) |
Definition at line 76 of file class.ilInfoScreenGUI.php.
References $DIC, $lng, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\html(), ILIAS\Repository\lng(), ILIAS\Repository\settings(), ILIAS\Repository\ui(), and ILIAS\Repository\user().
ilInfoScreenGUI::addAccessPeriodProperty | ( | ) |
ilDatabaseException | |
ilDateTimeException |
Definition at line 1220 of file class.ilInfoScreenGUI.php.
References ilDatePresentation\formatPeriod(), IL_CAL_UNIX, ILIAS\Repository\lng(), and ilObjectActivation\TIMINGS_ACTIVATION.
|
protected |
ilDatabaseException | |
ilDateTimeException |
Definition at line 1081 of file class.ilInfoScreenGUI.php.
References ILIAS\Repository\lng(), and ilObjectActivation\TIMINGS_ACTIVATION.
ilInfoScreenGUI::addButton | ( | string | $a_title, |
string | $a_link, | ||
string | $a_frame = "" , |
||
string | $a_position = "top" , |
||
bool | $a_primary = false |
||
) |
Definition at line 293 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 310 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::addHiddenElement | ( | string | $a_name, |
string | $a_value | ||
) |
Definition at line 320 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::addMetaDataSections | ( | int | $a_rep_obj_id, |
int | $a_obj_id, | ||
string | $a_type | ||
) |
Definition at line 325 of file class.ilInfoScreenGUI.php.
References $lng, and ILIAS\Repository\ui().
|
protected |
Add preconditions.
Definition at line 1108 of file class.ilInfoScreenGUI.php.
References ilObject\_lookupTitle(), and ilArrayUtil\sortArray().
|
protected |
Definition at line 1137 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 250 of file class.ilInfoScreenGUI.php.
References $sec_nr.
Referenced by ilObjIndividualAssessmentGUI\addContactDataToInfo(), ilObjRemoteCourseGUI\addCustomInfoFields(), ilObjRemoteFileGUI\addCustomInfoFields(), ilObjRemoteGlossaryGUI\addCustomInfoFields(), ilObjRemoteGroupGUI\addCustomInfoFields(), ilObjRemoteLearningModuleGUI\addCustomInfoFields(), ilObjRemoteTestGUI\addCustomInfoFields(), ilObjRemoteWikiGUI\addCustomInfoFields(), ilObjIndividualAssessmentGUI\addGeneralDataToInfo(), ilResourceStorageInfoGUI\append(), ilObjLTIConsumerGUI\configureInfoScreen(), ilAppointmentPresentationGUI\getHTML(), ilExSubmissionObjectGUI\getOverviewContentPortfolio(), and ilExAssTypeWikiTeamGUI\renderOverviewContent().
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 261 of file class.ilInfoScreenGUI.php.
References ilLegacyFormElementsUtil\prepareFormOutput().
ilInfoScreenGUI::addSection | ( | string | $a_title | ) |
Definition at line 223 of file class.ilInfoScreenGUI.php.
References $hidden, and $sec_nr.
Referenced by ilAppointmentPresentationGUI\getHTML().
|
protected |
Definition at line 415 of file class.ilInfoScreenGUI.php.
References $ref_id, and ILIAS\Repository\ui().
ilInfoScreenGUI::enableAvailability | ( | bool | $a_enable = true | ) |
Definition at line 183 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enableBookingInfo | ( | bool | $a_enable = true | ) |
Definition at line 188 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enableFeedback | ( | bool | $a_enable = true | ) |
Definition at line 194 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enableLearningProgress | ( | bool | $a_enable = true | ) |
Definition at line 178 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enableNews | ( | bool | $a_enable = true | ) |
Definition at line 199 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enableNewsEditing | ( | bool | $a_enable = true | ) |
Definition at line 204 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::enablePrivateNotes | ( | bool | $a_enable = true | ) |
Definition at line 173 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::executeCommand | ( | ) |
Definition at line 110 of file class.ilInfoScreenGUI.php.
References $html, $tpl, ILIAS\Repository\ctrl(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), ilGlobalPageTemplate\setContent(), setTabs(), showNotesSection(), and showSummary().
ilInfoScreenGUI::getAllBlockProperties | ( | ) |
Definition at line 218 of file class.ilInfoScreenGUI.php.
References $block_property.
ilInfoScreenGUI::getCenterColumnHTML | ( | ) |
Definition at line 628 of file class.ilInfoScreenGUI.php.
References IL_COL_CENTER, IL_COL_LEFT, IL_COL_RIGHT, and IL_SCREEN_SIDE.
ilInfoScreenGUI::getContentObjType | ( | ) |
Definition at line 885 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::getContextObjId | ( | ) |
Definition at line 871 of file class.ilInfoScreenGUI.php.
Referenced by ilBookingInfoScreenAdapter\__construct().
ilInfoScreenGUI::getContextRefId | ( | ) |
Definition at line 857 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::getHiddenToggleButton | ( | ) |
Definition at line 1069 of file class.ilInfoScreenGUI.php.
References $lng.
ilInfoScreenGUI::getHTML | ( | ) |
Definition at line 707 of file class.ilInfoScreenGUI.php.
References $ilSetting, $lng, ilGlobalPageTemplate\addBlockFile(), ilGlobalPageTemplate\get(), iljQueryUtil\initjQuery(), ilGlobalPageTemplate\parseCurrentBlock(), ilGlobalPageTemplate\setCurrentBlock(), ilGlobalPageTemplate\setVariable(), ilGlobalPageTemplate\touchBlock(), and ILIAS\Repository\ui().
Referenced by ilCalendarAppointmentPresentationGUI\getModalHTML().
ilInfoScreenGUI::getMessageBox | ( | ) |
Definition at line 157 of file class.ilInfoScreenGUI.php.
References $mbox.
ilInfoScreenGUI::getRightColumnHTML | ( | ) |
ilCtrlException |
Definition at line 661 of file class.ilInfoScreenGUI.php.
References IL_COL_RIGHT, and IL_SCREEN_SIDE.
ilInfoScreenGUI::getTableClass | ( | ) |
Definition at line 168 of file class.ilInfoScreenGUI.php.
References $table_class.
ilInfoScreenGUI::getTabs | ( | ilTabsGUI | $tabs_gui | ) |
Definition at line 1046 of file class.ilInfoScreenGUI.php.
References ilTabsGUI\addSubTabTarget(), and ILIAS\Repository\ctrl().
ilInfoScreenGUI::hideFurtherSections | ( | bool | $a_add_toggle = true | ) |
Definition at line 1063 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::removeFormAction | ( | ) |
Definition at line 238 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::saveProgress | ( | bool | $redirect = true | ) |
Definition at line 937 of file class.ilInfoScreenGUI.php.
References ilObject\_lookupType(), ilLearningProgress\_tracProgress(), ilLPStatusWrapper\_updateStatus(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
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 213 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::setCloseFormTag | ( | bool | $a_val | ) |
Definition at line 695 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::setColumnSettings | ( | ilColumnGUI | $column_gui | ) |
Set column settings.
Definition at line 683 of file class.ilInfoScreenGUI.php.
References ilColumnGUI\setAllBlockProperties(), ilColumnGUI\setEnableEdit(), and ilColumnGUI\setRepositoryMode().
ilInfoScreenGUI::setContentObjType | ( | string | $contentObjType | ) |
Definition at line 894 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::setContextObjId | ( | int | $contextObjId | ) |
Definition at line 880 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::setContextRefId | ( | int | $contextRefId | ) |
Definition at line 866 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::setFormAction | ( | string | $a_form_action | ) |
Definition at line 233 of file class.ilInfoScreenGUI.php.
Referenced by ilCalendarAppointmentPresentationGUI\getModalHTML().
ilInfoScreenGUI::setMessageBox | ( | ILIAS\UI\Component\MessageBox\MessageBox | $a_val | ) |
Definition at line 152 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::setOpenFormTag | ( | bool | $a_val | ) |
Definition at line 690 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::setTableClass | ( | string | $a_val | ) |
Definition at line 163 of file class.ilInfoScreenGUI.php.
ilInfoScreenGUI::setTabs | ( | ) |
Definition at line 1041 of file class.ilInfoScreenGUI.php.
Referenced by executeCommand().
ilInfoScreenGUI::showLDAPRoleGroupMappingInfo | ( | string | $a_section = '' | ) |
string | $a_section | section name. Leave empty to place this info string inside a section |
Definition at line 1021 of file class.ilInfoScreenGUI.php.
References $counter, ilLDAPRoleGroupMapping\_getInstance(), and ILIAS\Repository\lng().
ilInfoScreenGUI::showLearningProgress | ( | ilTemplate | $a_tpl | ) |
ilTemplate | $a_tpl |
ilDateTimeException |
Definition at line 903 of file class.ilInfoScreenGUI.php.
References ilObjUserTracking\_enabledLearningProgress(), ANONYMOUS_USER_ID, ilRbacSystem\checkAccess(), ilObjectLP\getInstance(), ILIAS\Repository\lng(), ilLPObjSettings\LP_MODE_MANUAL, ilTemplate\parseCurrentBlock(), and HTML_Template_IT\setVariable().
ilInfoScreenGUI::showNotesSection | ( | ) |
ilCtrlException |
Definition at line 968 of file class.ilInfoScreenGUI.php.
References $DIC, $ilSetting, $ref_id, and ILIAS\Repository\ctrl().
Referenced by executeCommand().
ilInfoScreenGUI::showSummary | ( | ) |
Definition at line 612 of file class.ilInfoScreenGUI.php.
References ilGlobalPageTemplate\setContent(), and ilGlobalPageTemplate\setRightContent().
Referenced by executeCommand().
|
protected |
Definition at line 42 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 62 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 65 of file class.ilInfoScreenGUI.php.
Referenced by getAllBlockProperties().
|
protected |
Definition at line 61 of file class.ilInfoScreenGUI.php.
bool ilInfoScreenGUI::$close_form_tag = true |
Definition at line 56 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 59 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 58 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 57 of file class.ilInfoScreenGUI.php.
ilCtrl ilInfoScreenGUI::$ctrl |
Definition at line 49 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 47 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 71 of file class.ilInfoScreenGUI.php.
string ilInfoScreenGUI::$form_action |
Definition at line 60 of file class.ilInfoScreenGUI.php.
object ilInfoScreenGUI::$gui_object |
Definition at line 50 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 63 of file class.ilInfoScreenGUI.php.
Referenced by addSection().
array ilInfoScreenGUI::$hiddenelements = array() |
Definition at line 53 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 36 of file class.ilInfoScreenGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 72 of file class.ilInfoScreenGUI.php.
ilLanguage ilInfoScreenGUI::$lng |
Definition at line 48 of file class.ilInfoScreenGUI.php.
Referenced by __construct().
|
protected |
Definition at line 38 of file class.ilInfoScreenGUI.php.
Referenced by getMessageBox().
|
protected |
Definition at line 46 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 66 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 70 of file class.ilInfoScreenGUI.php.
bool ilInfoScreenGUI::$open_form_tag = true |
Definition at line 55 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 69 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 40 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 73 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 68 of file class.ilInfoScreenGUI.php.
Referenced by addProperty(), and addSection().
|
protected |
Definition at line 64 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 45 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 67 of file class.ilInfoScreenGUI.php.
string ilInfoScreenGUI::$table_class = "il_InfoScreen" |
Definition at line 54 of file class.ilInfoScreenGUI.php.
Referenced by getTableClass().
|
protected |
Definition at line 39 of file class.ilInfoScreenGUI.php.
array ilInfoScreenGUI::$top_buttons = array() |
Definition at line 51 of file class.ilInfoScreenGUI.php.
array ilInfoScreenGUI::$top_formbuttons = array() |
Definition at line 52 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 41 of file class.ilInfoScreenGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 44 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 37 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 43 of file class.ilInfoScreenGUI.php.