|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilInfoScreenGUI. More...
Collaboration diagram for ilInfoScreenGUI: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... | |
| enableAvailability ($a_enable=true) | |
| enable availability More... | |
| enableBookingInfo ($a_enable=true) | |
| booking info 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... | |
| getContextRefId () | |
| setContextRefId (int $contextRefId) | |
| getContextObjId () | |
| setContextObjId (int $contextObjId) | |
| getContentObjType () | |
| setContentObjType (string $contentObjType) | |
| showLearningProgress ($a_tpl) | |
| saveProgress ($redirect=true) | |
| 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 () | |
| addAccessPeriodProperty () | |
| Add access period property. More... | |
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 Member Functions | |
| addAvailability () | |
| Add preconditions. More... | |
| addPreconditions () | |
| Add preconditions. More... | |
| addPreconditionSection ($obj, $conditions, $obligatory=true) | |
Protected Attributes | |
| $tabs_gui | |
| $rbacsystem | |
| $tpl | |
| $access | |
| $user | |
| $tree | |
| $settings | |
| $contextRefId = null | |
| $contextObjId = null | |
| $contentObjType = null | |
| $booking_enabled = false | |
| $availability_enabled = true | |
Class ilInfoScreenGUI.
@ilCtrl_Calls ilInfoScreenGUI: ilNoteGUI, ilColumnGUI, ilPublicUserProfileGUI @ilCtrl_Calls 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 102 of file class.ilInfoScreenGUI.php.
References $DIC, $lng, settings(), and user().
Here is the call graph for this function:| ilInfoScreenGUI::addAccessPeriodProperty | ( | ) |
Add access period property.
Definition at line 1431 of file class.ilInfoScreenGUI.php.
References addProperty(), ilDatePresentation\formatPeriod(), IL_CAL_UNIX, and ilObjectActivation\TIMINGS_ACTIVATION.
Referenced by addAvailability().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Add preconditions.
Definition at line 1305 of file class.ilInfoScreenGUI.php.
References addAccessPeriodProperty(), addSection(), and ilObjectActivation\TIMINGS_ACTIVATION.
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInfoScreenGUI::addButton | ( | $a_title, | |
| $a_link, | |||
$a_frame = "", |
|||
$a_position = "top", |
|||
$a_primary = false |
|||
| ) |
add a property to current section
Definition at line 360 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 372 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::addHiddenElement | ( | $a_name, | |
| $a_value | |||
| ) |
Definition at line 382 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::addMetaDataSections | ( | $a_rep_obj_id, | |
| $a_obj_id, | |||
| $a_type | |||
| ) |
add standard meta data sections
Definition at line 390 of file class.ilInfoScreenGUI.php.
References $lng, ilMDUtils\_getDefaultCopyright(), ilMDUtils\_parseCopyright(), addProperty(), addSection(), and ilDatePresentation\secondsToString().
Here is the call graph for this function:| ilInfoScreenGUI::addObjectSections | ( | ) |
add standard object section
Definition at line 510 of file class.ilInfoScreenGUI.php.
References $access, $ctrl, $ilUser, $lng, $tree, $type, $user, ilObject\_getAllReferences(), ilChangeEvent\_isActive(), ilDAVActivationChecker\_isActive(), ilChangeEvent\_lookupReadEvents(), addProperty(), addSection(), ANONYMOUS_USER_ID, ilDatePresentation\formatDate(), 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:
|
protected |
Add preconditions.
Definition at line 1328 of file class.ilInfoScreenGUI.php.
References $i, ilObject\_lookupTitle(), addPreconditionSection(), and ilUtil\sortArray().
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1353 of file class.ilInfoScreenGUI.php.
References $lng, $ok, $tree, ilConditionHandler\_checkCondition(), ilLink\_getLink(), ilObject\_lookupTitle(), addProperty(), addSection(), ilConditionHandler\calculateEffectiveRequiredTriggers(), ilConditionHandler\getEffectiveOptionalConditionsOfTarget(), ilMemberViewSettings\getInstance(), ilUtil\stripSlashes(), and ilConditionHandlerGUI\translateOperator().
Referenced by addPreconditions().
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 308 of file class.ilInfoScreenGUI.php.
Referenced by addAccessPeriodProperty(), ilObjIndividualAssessmentGUI\addContactDataToInfo(), ilObjRemoteCourseGUI\addCustomInfoFields(), ilObjRemoteFileGUI\addCustomInfoFields(), ilObjRemoteGlossaryGUI\addCustomInfoFields(), ilObjRemoteGroupGUI\addCustomInfoFields(), ilObjRemoteLearningModuleGUI\addCustomInfoFields(), ilObjRemoteTestGUI\addCustomInfoFields(), ilObjRemoteWikiGUI\addCustomInfoFields(), ilExAssignmentGUI\addFiles(), ilObjIndividualAssessmentGUI\addGeneralDataToInfo(), ilExAssignmentGUI\addInstructions(), ilObjIndividualAssessmentGUI\addMemberDataToInfo(), addMetaDataSections(), addObjectSections(), addPreconditionSection(), ilExAssignmentGUI\addPublicSubmissions(), ilExAssignmentGUI\addSchedule(), ilExAssignmentGUI\addSubmission(), ilExAssignmentGUI\addSubmissionFeedback(), addTagging(), ilExPeerReviewGUI\getOverviewContent(), ilExSubmissionFileGUI\getOverviewContent(), ilExSubmissionTeamGUI\getOverviewContent(), ilExSubmissionTextGUI\getOverviewContent(), ilExSubmissionObjectGUI\getOverviewContentBlog(), ilExSubmissionObjectGUI\getOverviewContentPortfolio(), ilExPeerReviewGUI\renderInfoWidget(), ilExAssTypeWikiTeamGUI\renderOverviewContent(), 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 318 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 335 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 278 of file class.ilInfoScreenGUI.php.
Referenced by addAvailability(), ilObjIndividualAssessmentGUI\addContactDataToInfo(), ilExAssignmentGUI\addFiles(), ilObjIndividualAssessmentGUI\addGeneralDataToInfo(), ilExAssignmentGUI\addInstructions(), ilObjIndividualAssessmentGUI\addMemberDataToInfo(), addMetaDataSections(), addObjectSections(), addPreconditionSection(), 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 1242 of file class.ilInfoScreenGUI.php.
References $ctrl, $lng, addProperty(), and addSection().
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilInfoScreenGUI::enableAvailability | ( | $a_enable = true | ) |
enable availability
Definition at line 219 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::enableBookingInfo | ( | $a_enable = true | ) |
booking info
| bool | $a_enable |
Definition at line 228 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::enableFeedback | ( | $a_enable = true | ) |
enable feedback
Definition at line 237 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::enableLearningProgress | ( | $a_enable = true | ) |
enable learning progress
Definition at line 211 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::enableNews | ( | $a_enable = true | ) |
enable news
Definition at line 245 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::enableNewsEditing | ( | $a_enable = true | ) |
enable news editing
Definition at line 253 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::enablePrivateNotes | ( | $a_enable = true | ) |
enable notes
Definition at line 203 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::executeCommand | ( | ) |
execute command
Definition at line 133 of file class.ilInfoScreenGUI.php.
References $_GET, $access, $rbacsystem, $tpl, ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), setTabs(), showNotesSection(), and showSummary().
Here is the call graph for this function:| ilInfoScreenGUI::getAllBlockProperties | ( | ) |
Definition at line 270 of file class.ilInfoScreenGUI.php.
Referenced by setColumnSettings().
Here is the caller graph for this function:| ilInfoScreenGUI::getCenterColumnHTML | ( | ) |
Display center column.
Definition at line 688 of file class.ilInfoScreenGUI.php.
References $ctrl, 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::getContentObjType | ( | ) |
Definition at line 972 of file class.ilInfoScreenGUI.php.
References $contentObjType.
Referenced by showLearningProgress().
Here is the caller graph for this function:| ilInfoScreenGUI::getContextObjId | ( | ) |
Definition at line 952 of file class.ilInfoScreenGUI.php.
References $contextObjId.
Referenced by saveProgress(), and showLearningProgress().
Here is the caller graph for this function:| ilInfoScreenGUI::getContextRefId | ( | ) |
Definition at line 932 of file class.ilInfoScreenGUI.php.
References $contextRefId.
| ilInfoScreenGUI::getHiddenToggleButton | ( | ) |
Definition at line 1294 of file class.ilInfoScreenGUI.php.
References $lng.
| ilInfoScreenGUI::getHTML | ( | ) |
get html
Definition at line 772 of file class.ilInfoScreenGUI.php.
References $access, $ctrl, $i, $ilSetting, $ilUser, $lng, $settings, $tpl, $tree, $user, addAvailability(), addButton(), addObjectSections(), addPreconditions(), addTagging(), ANONYMOUS_USER_ID, 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 721 of file class.ilInfoScreenGUI.php.
References $ctrl, $ilUser, $lng, $user, 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 195 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 1217 of file class.ilInfoScreenGUI.php.
References $access, $ilUser, $rbacsystem, $tabs_gui, and $user.
Referenced by setTabs().
Here is the caller graph for this function:| ilInfoScreenGUI::hideFurtherSections | ( | $a_add_toggle = true | ) |
Definition at line 1288 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::removeFormAction | ( | ) |
remove form action
Definition at line 296 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::saveProgress | ( | $redirect = true | ) |
Definition at line 1106 of file class.ilInfoScreenGUI.php.
References $_POST, $ilUser, $user, ilLPStatusWrapper\_updateStatus(), and getContextObjId().
Here is the call graph for this function:| ilInfoScreenGUI::saveTags | ( | ) |
Definition at line 1272 of file class.ilInfoScreenGUI.php.
| 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 265 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::setCloseFormTag | ( | $a_val | ) |
Definition at line 764 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::setColumnSettings | ( | $column_gui | ) |
Set column settings.
Definition at line 749 of file class.ilInfoScreenGUI.php.
References $access, $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::setContentObjType | ( | string | $contentObjType | ) |
| null | string | $contentObjType |
Definition at line 984 of file class.ilInfoScreenGUI.php.
References $contentObjType.
| ilInfoScreenGUI::setContextObjId | ( | int | $contextObjId | ) |
| int | null | $contextObjId |
Definition at line 964 of file class.ilInfoScreenGUI.php.
References $contextObjId.
| ilInfoScreenGUI::setContextRefId | ( | int | $contextRefId | ) |
| int | null | $contextRefId |
Definition at line 944 of file class.ilInfoScreenGUI.php.
References $contextRefId.
| ilInfoScreenGUI::setFormAction | ( | $a_form_action | ) |
set a form action
Definition at line 288 of file class.ilInfoScreenGUI.php.
Referenced by getHTML().
Here is the caller graph for this function:| ilInfoScreenGUI::setOpenFormTag | ( | $a_val | ) |
Definition at line 759 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::setTableClass | ( | $a_val | ) |
Set table class.
| string | table class |
Definition at line 185 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::setTabs | ( | ) |
Definition at line 1207 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 1185 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 989 of file class.ilInfoScreenGUI.php.
References $ilUser, $rbacsystem, $user, ilObjUserTracking\_enabledLearningProgress(), ilLearningProgress\_getProgress(), ilLPMarks\_hasCompleted(), ANONYMOUS_USER_ID, ilDatePresentation\formatDate(), ilUtil\formSelect(), getContentObjType(), getContextObjId(), ilObjectLP\getInstance(), IL_CAL_UNIX, ilLPObjSettings\LP_MODE_MANUAL, and ilDatePresentation\secondsToString().
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 1131 of file class.ilInfoScreenGUI.php.
References $access, $ilSetting, and $settings.
Referenced by executeCommand(), and getHTML().
Here is the caller graph for this function:| ilInfoScreenGUI::showSummary | ( | ) |
show summary page
Definition at line 675 of file class.ilInfoScreenGUI.php.
References $access, $tpl, getCenterColumnHTML(), and getRightColumnHTML().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 38 of file class.ilInfoScreenGUI.php.
Referenced by addObjectSections(), executeCommand(), getHTML(), getTabs(), setColumnSettings(), showNotesSection(), and showSummary().
|
protected |
Definition at line 93 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 88 of file class.ilInfoScreenGUI.php.
| ilInfoScreenGUI::$close_form_tag = true |
Definition at line 63 of file class.ilInfoScreenGUI.php.
|
protected |
Definition at line 78 of file class.ilInfoScreenGUI.php.
Referenced by getContentObjType(), and setContentObjType().
|
protected |
Definition at line 73 of file class.ilInfoScreenGUI.php.
Referenced by getContextObjId(), and setContextObjId().
|
protected |
Definition at line 68 of file class.ilInfoScreenGUI.php.
Referenced by getContextRefId(), and setContextRefId().
| 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 83 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(), addPreconditionSection(), 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(), addPreconditionSection(), and getHTML().
|
protected |
Definition at line 43 of file class.ilInfoScreenGUI.php.
Referenced by addObjectSections(), getHTML(), getRightColumnHTML(), getTabs(), saveProgress(), and showLearningProgress().