ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilInfoScreenGUI Class Reference

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...
 
 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
 

Detailed Description

Class ilInfoScreenGUI.

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de @ilCtrl_Calls ilInfoScreenGUI: ilCommentGUI, ilColumnGUI, ILIAS\User\Profile\PublicProfileGUI @ilCtrl_Calls ilInfoScreenGUI: ilCommonActionDispatcherGUI

Definition at line 34 of file class.ilInfoScreenGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilInfoScreenGUI::__construct ( ?object  $a_gui_object = null)

Definition at line 76 of file class.ilInfoScreenGUI.php.

77 {
78 global $DIC;
79
80 $this->rbacsystem = $DIC->rbac()->system();
81 $this->tpl = $DIC["tpl"];
82 $this->access = $DIC->access();
83 $this->user = $DIC->user();
84 $this->tree = $DIC->repositoryTree();
85 $this->settings = $DIC->settings();
86 $ilCtrl = $DIC->ctrl();
87 $lng = $DIC->language();
88 $ilTabs = $DIC->tabs();
89 $this->metadata = $DIC->learningObjectMetadata();
90
91 $this->ctrl = $ilCtrl;
92 $this->lng = $lng;
93 $this->tabs_gui = $ilTabs;
94 $this->gui_object = $a_gui_object;
95 $this->form_action = "";
96 $this->top_formbuttons = array();
97 $this->hiddenelements = array();
98 $this->ui = $DIC->ui();
99 $this->request = $DIC->infoScreen()->internal()->gui()->standardRequest();
100 $this->html = $DIC->infoScreen()->internal()->gui()->html();
101 $this->data_factory = new DataFactory();
102 }
global $DIC
Definition: shib_login.php:26

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().

+ Here is the call graph for this function:

Member Function Documentation

◆ addAccessPeriodProperty()

ilInfoScreenGUI::addAccessPeriodProperty ( )
Exceptions
ilDatabaseException
ilDateTimeException

Definition at line 1220 of file class.ilInfoScreenGUI.php.

1220 : void
1221 {
1222 $a_obj = $this->gui_object->getObject();
1223
1224 $this->lng->loadLanguageModule("rep");
1225 $this->lng->loadLanguageModule("crs");
1226
1227 // links to the object
1228 if (is_object($a_obj)) {
1229 $act = new ilObjectActivation();
1230 $act->read($a_obj->getRefId());
1231 if ($act->getTimingType() == ilObjectActivation::TIMINGS_ACTIVATION) {
1232 $this->addProperty(
1233 $this->lng->txt('rep_activation_access'),
1235 new ilDateTime($act->getTimingStart(), IL_CAL_UNIX),
1236 new ilDateTime($act->getTimingEnd(), IL_CAL_UNIX)
1237 )
1238 );
1239 } else {
1240 $this->addProperty(
1241 $this->lng->txt('rep_activation_access'),
1242 $this->lng->txt('crs_visibility_limitless')
1243 );
1244 }
1245 }
1246 }
const IL_CAL_UNIX
static formatPeriod(ilDateTime $start, ilDateTime $end, bool $a_skip_starting_day=false, ?ilObjUser $user=null)
Format a period of two dates Shows: 14.
@classDescription Date and time handling
addProperty(string $a_name, string $a_value, string $a_link="")
add a property to current section
Class ilObjectActivation.

References ilDatePresentation\formatPeriod(), IL_CAL_UNIX, ILIAS\Repository\lng(), and ilObjectActivation\TIMINGS_ACTIVATION.

+ Here is the call graph for this function:

◆ addAvailability()

ilInfoScreenGUI::addAvailability ( )
protected
Exceptions
ilDatabaseException
ilDateTimeException

Definition at line 1081 of file class.ilInfoScreenGUI.php.

1081 : void
1082 {
1083 if (
1084 !is_object($this->gui_object) ||
1085 !method_exists($this->gui_object, "getObject") ||
1086 !is_object($this->gui_object->getObject())
1087 ) {
1088 return;
1089 }
1090
1091 $obj = $this->gui_object->getObject();
1092 if ($obj->getRefId() <= 0) {
1093 return;
1094 }
1095
1096 $act = new ilObjectActivation();
1097 $act->read($obj->getRefId());
1098 if ($act->getTimingType() == ilObjectActivation::TIMINGS_ACTIVATION) {
1099 $this->lng->loadLanguageModule("rep");
1100 $this->addSection($this->lng->txt("rep_activation_availability"));
1101 $this->addAccessPeriodProperty();
1102 }
1103 }
addSection(string $a_title)

References ILIAS\Repository\lng(), and ilObjectActivation\TIMINGS_ACTIVATION.

+ Here is the call graph for this function:

◆ addButton()

ilInfoScreenGUI::addButton ( string  $a_title,
string  $a_link,
string  $a_frame = "",
string  $a_position = "top",
bool  $a_primary = false 
)
Deprecated:

Definition at line 293 of file class.ilInfoScreenGUI.php.

299 : void {
300 if ($a_position == "top") {
301 $this->top_buttons[] =
302 array("title" => $a_title,"link" => $a_link,"target" => $a_frame,"primary" => $a_primary);
303 }
304 }

◆ addFormButton()

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.

314 : void {
315 if ($a_position == "top") {
316 $this->top_formbuttons[] = array("command" => $a_command, "title" => $a_title);
317 }
318 }

◆ addHiddenElement()

ilInfoScreenGUI::addHiddenElement ( string  $a_name,
string  $a_value 
)

Definition at line 320 of file class.ilInfoScreenGUI.php.

320 : void
321 {
322 $this->hiddenelements[] = array("name" => $a_name, "value" => $a_value);
323 }

◆ addMetaDataSections()

ilInfoScreenGUI::addMetaDataSections ( int  $a_rep_obj_id,
int  $a_obj_id,
string  $a_type 
)

Definition at line 325 of file class.ilInfoScreenGUI.php.

325 : void
326 {
328
329 $lng->loadLanguageModule("meta");
330 $lng->loadLanguageModule('export');
331
332 $md_reader = $this->metadata->read($a_rep_obj_id, $a_obj_id, $a_type);
333 $md_paths = $this->metadata->paths();
334 $md_data_helper = $this->metadata->dataHelper();
335 $md_copyright_helper = $this->metadata->copyrightHelper();
336
337 // general
338 $lang_data = $md_reader->allData($md_paths->languages());
339 $langs = $md_data_helper->makePresentableAsList(', ', ...$lang_data);
340
341 $keyword_data = $md_reader->allData($md_paths->keywords());
342 $keywords = $md_data_helper->makePresentableAsList(', ', ...$keyword_data);
343
344 // authors
345 $author_data = $md_reader->allData($md_paths->authors());
346 $author = $md_data_helper->makePresentableAsList(', ', ...$author_data);
347
348 // learning time
349 $learning_time_data = $md_reader->firstData($md_paths->firstTypicalLearningTime());
350 $learning_time = $md_data_helper->makePresentable($learning_time_data);
351
352 // copyright
353 $copyright = '';
354 if ($md_copyright_helper->hasPresetCopyright($md_reader)) {
355 $copyright = $this->ui->renderer()->render(
356 $md_copyright_helper->readPresetCopyright($md_reader)->presentAsUIComponents()
357 );
358 } else {
359 $copyright = $md_copyright_helper->readCustomCopyright($md_reader);
360 }
361
362 // public access export
363 $public_access_export = $this->buildPublicAccessExportButton($a_rep_obj_id, $a_obj_id);
364
365 // output
366
367 // general section
368 $this->addSection($lng->txt("meta_general"));
369 if ($langs != "") { // language
370 $this->addProperty(
371 $lng->txt("language"),
372 $this->html->escape($langs)
373 );
374 }
375 if ($keywords != "") { // keywords
376 $this->addProperty(
377 $lng->txt("keywords"),
378 $this->html->escape($keywords)
379 );
380 }
381 if ($author != "") { // author
382 $this->addProperty(
383 $lng->txt("author"),
384 $this->html->escape($author)
385 );
386 }
387 if ($learning_time != "") { // typical learning time
388 $this->addProperty(
389 $lng->txt("meta_typical_learning_time"),
390 $this->html->escape($learning_time)
391 );
392 }
393
394 // licence and use section
395 if ($copyright === '' && $public_access_export === '') {
396 return;
397 }
398 $this->addSection($lng->txt('meta_info_licence_section'));
399
400 if ($public_access_export !== '') { // public access export
401 $this->addProperty(
402 $lng->txt('export_info_public_access'),
403 $public_access_export
404 );
405 }
406
407 if ($copyright !== '') { // copyright
408 $this->addProperty(
409 $lng->txt("meta_copyright"),
410 $copyright
411 );
412 }
413 }
buildPublicAccessExportButton(int $rep_obj_id, int $obj_id)
loadLanguageModule(string $a_module)
Load language module.
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...

References $lng, and ILIAS\Repository\ui().

+ Here is the call graph for this function:

◆ addPreconditions()

ilInfoScreenGUI::addPreconditions ( )
protected

Add preconditions.

Definition at line 1108 of file class.ilInfoScreenGUI.php.

1108 : void
1109 {
1110 if (
1111 !is_object($this->gui_object) ||
1112 !method_exists($this->gui_object, "getObject") ||
1113 !is_object($this->gui_object->getObject())
1114 ) {
1115 return;
1116 }
1117
1118 $obj = $this->gui_object->getObject();
1119 if ($obj->getRefId() <= 0) {
1120 return;
1121 }
1122
1123 $conditions = ilConditionHandler::_getEffectiveConditionsOfTarget($obj->getRefId(), $obj->getId());
1124
1125 if (sizeof($conditions)) {
1126 for ($i = 0; $i < count($conditions); $i++) {
1127 $conditions[$i]['title'] = ilObject::_lookupTitle($conditions[$i]['trigger_obj_id']);
1128 }
1129 $conditions = ilArrayUtil::sortArray($conditions, 'title', 'DESC');
1130
1131 // Show obligatory and optional preconditions seperated
1132 $this->addPreconditionSection($obj, $conditions, true);
1133 $this->addPreconditionSection($obj, $conditions, false);
1134 }
1135 }
static sortArray(array $array, string $a_array_sortby_key, string $a_array_sortorder="asc", bool $a_numeric=false, bool $a_keep_keys=false)
addPreconditionSection(ilObject $obj, array $conditions, bool $obligatory=true)
static _lookupTitle(int $obj_id)

References ilObject\_lookupTitle(), and ilArrayUtil\sortArray().

+ Here is the call graph for this function:

◆ addPreconditionSection()

ilInfoScreenGUI::addPreconditionSection ( ilObject  $obj,
array  $conditions,
bool  $obligatory = true 
)
protected

Definition at line 1137 of file class.ilInfoScreenGUI.php.

1141 : void {
1142 $lng = $this->lng;
1144
1146 $num_optional_required =
1147 $num_required - count($conditions) + count(ilConditionHandler::getEffectiveOptionalConditionsOfTarget($obj->getRefId(), $obj->getId()));
1148
1149 // Check if all conditions are fulfilled
1150 $visible_conditions = array();
1151 $passed_optional = 0;
1152 foreach ($conditions as $condition) {
1153 if ($obligatory and !$condition['obligatory']) {
1154 continue;
1155 }
1156 if (!$obligatory and $condition['obligatory']) {
1157 continue;
1158 }
1159
1160 if ($tree->isDeleted($condition['trigger_ref_id'])) {
1161 continue;
1162 }
1163
1164 $ok = ilConditionHandler::_checkCondition($condition) and
1165 !ilMemberViewSettings::getInstance()->isActive();
1166
1167 if (!$ok) {
1168 $visible_conditions[] = $condition['id'];
1169 }
1170
1171 if (!$obligatory and $ok) {
1172 ++$passed_optional;
1173 // optional passed
1174 if ($passed_optional >= $num_optional_required) {
1175 return;
1176 }
1177 }
1178 }
1179
1180 $properties = [];
1181
1182 foreach ($conditions as $condition) {
1183 if (!isset($condition["id"]) || !in_array($condition['id'], $visible_conditions)) {
1184 continue;
1185 }
1186
1187 $properties[] = [
1189 $condition['trigger_obj_id'],
1190 $condition['operator']
1191 ) . ' ' . $condition['value'],
1192 "title" => ilObject::_lookupTitle($condition['trigger_obj_id']),
1193 "link" => ilLink::_getLink($condition['trigger_ref_id'])
1194 ];
1195 }
1196
1197 if (count($properties) > 0) {
1198 if ($obligatory) {
1199 $this->addSection($lng->txt("preconditions_obligatory_hint"));
1200 } else {
1201 $this->addSection(sprintf(
1202 $lng->txt("preconditions_optional_hint"),
1203 $num_optional_required - $passed_optional
1204 ));
1205 }
1206
1207 foreach ($properties as $p) {
1208 $this->addProperty(
1209 $p["condition"],
1210 "<a href='" . $p["link"] . "'>" . $this->html->strip($p["title"]) . "</a>"
1211 );
1212 }
1213 }
1214 }
static translateOperator(int $a_obj_id, string $a_operator, string $value='')
static calculateEffectiveRequiredTriggers(int $a_target_ref_id, int $a_target_obj_id, string $a_target_obj_type='')
static _checkCondition(array $condition, int $a_usr_id=0)
checks wether a single condition is fulfilled every trigger object type must implement a static metho...
static getEffectiveOptionalConditionsOfTarget(int $a_target_ref_id, int $a_target_obj_id, string $a_obj_type='')
isDeleted(int $a_node_id)
This is a wrapper for isSaved() with a more useful name.

◆ addProperty()

ilInfoScreenGUI::addProperty ( string  $a_name,
string  $a_value,
string  $a_link = "" 
)

◆ addPropertyTextinput()

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 
)
Deprecated:

Definition at line 261 of file class.ilInfoScreenGUI.php.

269 : void {
270 $input = "<span class=\"form-inline\"><input class=\"form-control\" type=\"text\" name=\"$a_input_name\" id=\"$a_input_name\"";
271 if (strlen($a_input_value)) {
272 $input .= " value=\"" . ilLegacyFormElementsUtil::prepareFormOutput($a_input_value) . "\"";
273 }
274 if (strlen($a_input_size)) {
275 $input .= " size=\"" . $a_input_size . "\"";
276 }
277 $input .= " />";
278 if (strlen($direct_button_command) && strlen($direct_button_label)) {
279 $css = "";
280 if ($direct_button_primary) {
281 $css = " btn-primary";
282 }
283 $input .= " <input type=\"submit\" class=\"btn btn-default" . $css . "\" name=\"cmd[$direct_button_command]\" value=\"$direct_button_label\" />";
284 }
285 $input .= "</span>";
286 $this->section[$this->sec_nr]["properties"][] =
287 array("name" => "<label for=\"$a_input_name\">$a_name</label>", "value" => $input);
288 }
static prepareFormOutput($a_str, bool $a_strip=false)

References ilLegacyFormElementsUtil\prepareFormOutput().

+ Here is the call graph for this function:

◆ addSection()

ilInfoScreenGUI::addSection ( string  $a_title)

Definition at line 223 of file class.ilInfoScreenGUI.php.

223 : void
224 {
225 $this->sec_nr++;
226 $this->section[$this->sec_nr]["title"] = $a_title;
227 $this->section[$this->sec_nr]["hidden"] = $this->hidden;
228 }

References $hidden, and $sec_nr.

Referenced by ilAppointmentPresentationGUI\getHTML().

+ Here is the caller graph for this function:

◆ buildPublicAccessExportButton()

ilInfoScreenGUI::buildPublicAccessExportButton ( int  $rep_obj_id,
int  $obj_id 
)
protected

Definition at line 415 of file class.ilInfoScreenGUI.php.

415 : string
416 {
417 /*
418 * This should be replaced by a proper export API
419 * when it is available.
420 */
421 $export_services = new ExportServices();
422 $public_access = $export_services->publicAccess()->handler();
423
424 /*
425 * Make sure we are not in a subobject, and that we will get
426 * the ref_id via the GUI from the correct object.
427 */
428 if (
429 $rep_obj_id !== $this->gui_object->getObject()->getId() ||
430 ($obj_id !== 0 && $obj_id !== $rep_obj_id)
431 ) {
432 return '';
433 }
434
435 if (!$public_access->hasPublicAccessFile($this->data_factory->objId($rep_obj_id))) {
436 return '';
437 }
438
439 $ref_id = $this->gui_object->getObject()->getRefId();
440
441 return $this->ui->renderer()->render(
442 $this->ui->factory()->button()->standard(
443 $this->lng->txt('export_info_public_access_download'),
444 $public_access->downloadLinkOfPublicAccessFile($this->data_factory->refId($ref_id))
445 )
446 );
447 }
$ref_id
Definition: ltiauth.php:66

References $ref_id, and ILIAS\Repository\ui().

+ Here is the call graph for this function:

◆ enableAvailability()

ilInfoScreenGUI::enableAvailability ( bool  $a_enable = true)

Definition at line 183 of file class.ilInfoScreenGUI.php.

183 : void
184 {
185 $this->availability_enabled = $a_enable;
186 }

◆ enableBookingInfo()

ilInfoScreenGUI::enableBookingInfo ( bool  $a_enable = true)

Definition at line 188 of file class.ilInfoScreenGUI.php.

188 : void
189 {
190 $this->booking_enabled = $a_enable;
191 }

◆ enableFeedback()

ilInfoScreenGUI::enableFeedback ( bool  $a_enable = true)

Definition at line 194 of file class.ilInfoScreenGUI.php.

194 : void
195 {
196 $this->feedback_enabled = $a_enable;
197 }

◆ enableLearningProgress()

ilInfoScreenGUI::enableLearningProgress ( bool  $a_enable = true)

Definition at line 178 of file class.ilInfoScreenGUI.php.

178 : void
179 {
180 $this->learning_progress_enabled = $a_enable;
181 }

◆ enableNews()

ilInfoScreenGUI::enableNews ( bool  $a_enable = true)

Definition at line 199 of file class.ilInfoScreenGUI.php.

199 : void
200 {
201 $this->news_enabled = $a_enable;
202 }

◆ enableNewsEditing()

ilInfoScreenGUI::enableNewsEditing ( bool  $a_enable = true)

Definition at line 204 of file class.ilInfoScreenGUI.php.

204 : void
205 {
206 $this->news_editing = $a_enable;
207 }

◆ enablePrivateNotes()

ilInfoScreenGUI::enablePrivateNotes ( bool  $a_enable = true)

Definition at line 173 of file class.ilInfoScreenGUI.php.

173 : void
174 {
175 $this->private_notes_enabled = $a_enable;
176 }

◆ executeCommand()

ilInfoScreenGUI::executeCommand ( )
Exceptions
ilCtrlException
ilDatabaseException
ilDateTimeException
ilObjectNotFoundException

Definition at line 110 of file class.ilInfoScreenGUI.php.

110 : void
111 {
113
114 $next_class = $this->ctrl->getNextClass($this);
115
116 $cmd = $this->ctrl->getCmd("showSummary");
117 $this->ctrl->setReturn($this, "showSummary");
118
119 $this->setTabs();
120
121 switch ($next_class) {
122 case strtolower(ilCommentGUI::class):
123 if ($this->ctrl->isAsynch()) {
124 $this->showNotesSection();
125 } else {
126 $this->showSummary(); // forwards command
127 }
128 break;
129
130 case "ilcolumngui":
131 $this->showSummary();
132 break;
133
134 case strtolower(PublicProfileGUI::class):
135 $user_profile = new PublicProfileGUI($this->request->getUserId());
136 $user_profile->setBackUrl($this->ctrl->getLinkTarget($this, "showSummary"));
137 $html = $this->ctrl->forwardCommand($user_profile);
139 break;
140
141 case "ilcommonactiondispatchergui":
143 $this->ctrl->forwardCommand($gui);
144 break;
145
146 default:
147 $this->$cmd();
148 break;
149 }
150 }
GUI class for public user profile presentation.
setBackUrl(string $backurl)
Set Back Link URL.
static getInstanceFromAjaxCall()
(Re-)Build instance from ajax call
setContent(string $a_html)
Sets content for standard template.
ilGlobalPageTemplate $tpl
ILIAS Repository HTML HTMLUtil $html
if(!file_exists('../ilias.ini.php'))

References $html, $tpl, ILIAS\Repository\ctrl(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), ilGlobalPageTemplate\setContent(), setTabs(), showNotesSection(), and showSummary().

+ Here is the call graph for this function:

◆ getAllBlockProperties()

ilInfoScreenGUI::getAllBlockProperties ( )

Definition at line 218 of file class.ilInfoScreenGUI.php.

218 : array
219 {
221 }

References $block_property.

◆ getCenterColumnHTML()

ilInfoScreenGUI::getCenterColumnHTML ( )
Returns
string
Exceptions
ilCtrlException
ilDatabaseException
ilDateTimeException
ilObjectNotFoundException

Definition at line 628 of file class.ilInfoScreenGUI.php.

628 : string
629 {
630 $ilCtrl = $this->ctrl;
631 $html = "";
632 $column_gui = new ilColumnGUI("info", IL_COL_CENTER);
633 $this->setColumnSettings($column_gui);
634
635 if (!$ilCtrl->isAsynch()) {
636 if ($column_gui->getScreenMode() != IL_SCREEN_SIDE) {
637 // right column wants center
638 if ($column_gui->getCmdSide() == IL_COL_RIGHT) {
639 $column_gui = new ilColumnGUI("info", IL_COL_RIGHT);
640 $this->setColumnSettings($column_gui);
641 $html = $ilCtrl->forwardCommand($column_gui);
642 }
643 // left column wants center
644 if ($column_gui->getCmdSide() == IL_COL_LEFT) {
645 $column_gui = new ilColumnGUI("info", IL_COL_LEFT);
646 $this->setColumnSettings($column_gui);
647 $html = $ilCtrl->forwardCommand($column_gui);
648 }
649 } else {
650 $html = $this->getHTML();
651 }
652 }
653
654 return $html;
655 }
const IL_SCREEN_SIDE
const IL_COL_RIGHT
const IL_COL_CENTER
const IL_COL_LEFT
Column user interface class.
setColumnSettings(ilColumnGUI $column_gui)
Set column settings.

References IL_COL_CENTER, IL_COL_LEFT, IL_COL_RIGHT, and IL_SCREEN_SIDE.

◆ getContentObjType()

ilInfoScreenGUI::getContentObjType ( )

Definition at line 885 of file class.ilInfoScreenGUI.php.

885 : string
886 {
887 if ($this->contentObjType !== null) {
889 }
890
891 return $this->gui_object->getObject()->getType();
892 }

◆ getContextObjId()

ilInfoScreenGUI::getContextObjId ( )

Definition at line 871 of file class.ilInfoScreenGUI.php.

871 : int
872 {
873 if ($this->contextObjId !== null) {
874 return $this->contextObjId;
875 }
876
877 return $this->gui_object->getObject()->getId();
878 }

Referenced by ilBookingInfoScreenAdapter\__construct().

+ Here is the caller graph for this function:

◆ getContextRefId()

ilInfoScreenGUI::getContextRefId ( )

Definition at line 857 of file class.ilInfoScreenGUI.php.

857 : int
858 {
859 if ($this->contextRefId !== null) {
860 return $this->contextRefId;
861 }
862
863 return $this->gui_object->getObject()->getRefId();
864 }

◆ getHiddenToggleButton()

ilInfoScreenGUI::getHiddenToggleButton ( )

Definition at line 1069 of file class.ilInfoScreenGUI.php.

1069 : string
1070 {
1071 $lng = $this->lng;
1072
1073 return "<a onClick=\"toggleSections(this, '" . $lng->txt("show_hidden_sections") . "', '" . $lng->txt("hide_visible_sections") . "'); return false;\" href=\"#\">" . $lng->txt("show_hidden_sections") . "</a>";
1074 }

References $lng.

◆ getHTML()

ilInfoScreenGUI::getHTML ( )
Returns
string
Exceptions
ilCtrlException
ilDatabaseException
ilDateTimeException
ilObjectNotFoundException

Definition at line 707 of file class.ilInfoScreenGUI.php.

707 : string
708 {
711 $ilCtrl = $this->ctrl;
712 $ilUser = $this->user;
713
714 $tpl = new ilTemplate("tpl.infoscreen.html", true, true, "components/ILIAS/InfoScreen");
715
716 // other class handles form action (@todo: this is not implemented/tested)
717 if ($this->form_action == "") {
718 $this->setFormAction($ilCtrl->getFormAction($this));
719 }
720
722
723 if ($this->hidden) {
724 $tpl->touchBlock("hidden_js");
725 if ($this->show_hidden_toggle) {
726 $this->addButton($lng->txt("show_hidden_sections"), "JavaScript:toggleSections(this, '" . $lng->txt("show_hidden_sections") . "', '" . $lng->txt("hide_visible_sections") . "');");
727 }
728 }
729
730
731 // DEPRECATED - use ilToolbarGUI
732
733 // add top buttons
734 if (count($this->top_buttons) > 0) {
735 $tpl->addBlockFile("TOP_BUTTONS", "top_buttons", "tpl.buttons.html");
736
737 foreach ($this->top_buttons as $button) {
738 // view button
739 $tpl->setCurrentBlock("btn_cell");
740 $tpl->setVariable("BTN_LINK", $button["link"]);
741 $tpl->setVariable("BTN_TARGET", $button["target"]);
742 $tpl->setVariable("BTN_TXT", $button["title"]);
743 if ($button["primary"]) {
744 $tpl->setVariable("BTN_CLASS", " btn-primary");
745 }
747 }
748 }
749
750 // add top formbuttons
751 if ((count($this->top_formbuttons) > 0) && ($this->form_action !== '')) {
752 $tpl->addBlockFile("TOP_FORMBUTTONS", "top_submitbuttons", "tpl.submitbuttons.html", "components/ILIAS/InfoScreen");
753
754 foreach ($this->top_formbuttons as $button) {
755 // view button
756 $tpl->setCurrentBlock("btn_submit_cell");
757 $tpl->setVariable("BTN_COMMAND", $button["command"]);
758 $tpl->setVariable("BTN_NAME", $button["title"]);
760 }
761 }
762
763 // add form action
764 if ($this->form_action != "") {
765 if ($this->open_form_tag) {
766 $tpl->setCurrentBlock("formtop");
767 $tpl->setVariable("FORMACTION", $this->form_action);
769 }
770
771 if ($this->close_form_tag) {
772 $tpl->touchBlock("formbottom");
773 }
774 }
775
776 if (count($this->hiddenelements)) {
777 foreach ($this->hiddenelements as $hidden) {
778 $tpl->setCurrentBlock("hidden_element");
779 $tpl->setVariable("HIDDEN_NAME", $hidden["name"]);
780 $tpl->setVariable("HIDDEN_VALUE", $hidden["value"]);
782 }
783 }
784
785 if ($this->availability_enabled) {
786 $this->addAvailability();
787 }
788
789 $this->addPreconditions();
790
791 // learning progress
792 if ($this->learning_progress_enabled) {
794 }
795
796 // notes section
797 if ($this->private_notes_enabled && !$ilSetting->get('disable_notes')) {
798 $html = $this->showNotesSection();
799 $tpl->setCurrentBlock("notes");
800 $tpl->setVariable("NOTES", $html);
802 }
803
804 if (
805 isset($this->gui_object) &&
806 method_exists($this->gui_object, "getObject") &&
807 is_object($this->gui_object->getObject())
808 ) {
809 $this->addObjectSections();
810 }
811
812 // render all sections
813 for ($i = 1; $i <= $this->sec_nr; $i++) {
814 if (isset($this->section[$i]["properties"])) {
815 // section properties
816 foreach ($this->section[$i]["properties"] as $property) {
817 if ($property["name"] != "") {
818 if (($property["link"] ?? "") == "") {
819 $tpl->setCurrentBlock("pv");
820 $tpl->setVariable("TXT_PROPERTY_VALUE", $property["value"]);
821 } else {
822 $tpl->setCurrentBlock("lpv");
823 $tpl->setVariable("TXT_PROPERTY_LVALUE", $property["value"]);
824 $tpl->setVariable("LINK_PROPERTY_VALUE", $property["link"]);
825 }
827 $tpl->setCurrentBlock("property_row");
828 $tpl->setVariable("TXT_PROPERTY", $property["name"]);
829 } else {
830 $tpl->setCurrentBlock("property_full_row");
831 $tpl->setVariable("TXT_PROPERTY_FULL_VALUE", $property["value"]);
832 }
834 }
835
836 // section header
837 if ($this->section[$i]["hidden"] ?? false) {
838 $tpl->setVariable("SECTION_HIDDEN", " style=\"display:none;\"");
839 $tpl->setVariable("SECTION_ID", "hidable_" . $i);
840 } else {
841 $tpl->setVariable("SECTION_ID", $i);
842 }
843 $tpl->setVariable("TCLASS", $this->getTableClass());
844 $tpl->setVariable("TXT_SECTION", $this->section[$i]["title"]);
845 $tpl->setCurrentBlock("row");
847 }
848 }
849
850 if (!is_null($this->mbox)) {
851 $tpl->setVariable("MBOX", $this->ui->renderer()->render([$this->mbox]));
852 }
853
854 return $tpl->get();
855 }
setCurrentBlock(string $blockname=self::DEFAULT_BLOCK)
Sets the template to the given block.
get(string $part=self::DEFAULT_BLOCK)
Renders the given block and returns the html string.
addBlockFile(string $var, string $block, string $template_name, ?string $in_module=null)
overwrites ITX::addBlockFile
setVariable(string $variable, $value='')
Sets the given variable to the given value.
parseCurrentBlock(string $blockname=self::DEFAULT_BLOCK)
Parses the given block.
touchBlock(string $blockname)
overwrites ITX::touchBlock.
setFormAction(string $a_form_action)
showLearningProgress(ilTemplate $a_tpl)
addButton(string $a_title, string $a_link, string $a_frame="", string $a_position="top", bool $a_primary=false)
addPreconditions()
Add preconditions.
special template class to simplify handling of ITX/PEAR
static initjQuery(?ilGlobalTemplateInterface $a_tpl=null)
inits and adds the jQuery JS-File to the global or a passed template
global $ilSetting
Definition: privfeed.php:31

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getMessageBox()

ilInfoScreenGUI::getMessageBox ( )

Definition at line 157 of file class.ilInfoScreenGUI.php.

158 {
159 return $this->mbox;
160 }
ILIAS UI Component MessageBox MessageBox $mbox

References $mbox.

◆ getRightColumnHTML()

ilInfoScreenGUI::getRightColumnHTML ( )
Returns
string
Exceptions
ilCtrlException

Definition at line 661 of file class.ilInfoScreenGUI.php.

661 : string
662 {
663 $ilCtrl = $this->ctrl;
664
665 $html = "";
666 $column_gui = new ilColumnGUI("info", IL_COL_RIGHT);
667 $this->setColumnSettings($column_gui);
668
669 if ($ilCtrl->getNextClass() == "ilcolumngui" &&
670 $column_gui->getCmdSide() == IL_COL_RIGHT &&
671 $column_gui->getScreenMode() == IL_SCREEN_SIDE) {
672 $html = $ilCtrl->forwardCommand($column_gui);
673 } elseif (!$ilCtrl->isAsynch() && $this->news_enabled) {
674 $html = $ilCtrl->getHTML($column_gui);
675 }
676
677 return $html;
678 }

References IL_COL_RIGHT, and IL_SCREEN_SIDE.

◆ getTableClass()

ilInfoScreenGUI::getTableClass ( )

Definition at line 168 of file class.ilInfoScreenGUI.php.

168 : string
169 {
170 return $this->table_class;
171 }

References $table_class.

◆ getTabs()

ilInfoScreenGUI::getTabs ( ilTabsGUI  $tabs_gui)

Definition at line 1046 of file class.ilInfoScreenGUI.php.

1046 : void
1047 {
1048 $next_class = $this->ctrl->getNextClass($this);
1049 $force_active = ($next_class == "ilnotegui");
1050
1052 'summary',
1053 $this->ctrl->getLinkTarget($this, "showSummary"),
1054 array("showSummary", ""),
1055 get_class($this),
1056 "",
1057 $force_active
1058 );
1059 }
addSubTabTarget(string $a_text, string $a_link, $a_cmd="", $a_cmdClass="", string $a_frame="", bool $a_activate=false, bool $a_dir_text=false)

References ilTabsGUI\addSubTabTarget(), and ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ hideFurtherSections()

ilInfoScreenGUI::hideFurtherSections ( bool  $a_add_toggle = true)

Definition at line 1063 of file class.ilInfoScreenGUI.php.

1063 : void
1064 {
1065 $this->hidden = true;
1066 $this->show_hidden_toggle = $a_add_toggle;
1067 }

◆ removeFormAction()

ilInfoScreenGUI::removeFormAction ( )

Definition at line 238 of file class.ilInfoScreenGUI.php.

238 : void
239 {
240 $this->form_action = "";
241 }

◆ saveProgress()

ilInfoScreenGUI::saveProgress ( bool  $redirect = true)

Definition at line 937 of file class.ilInfoScreenGUI.php.

937 : void
938 {
939 $ilUser = $this->user;
940
941 // ensure a read event
943 $ilUser->getId(),
944 $this->getContextObjId(),
945 $this->getContextRefId(),
946 ilObject::_lookupType($this->getContextObjId())
947 );
948
949 $lp_marks = new ilLPMarks($this->getContextObjId(), $ilUser->getId());
950 $lp_marks->setCompleted((bool) $this->request->getLPEdit());
951 $lp_marks->update();
952
953 ilLPStatusWrapper::_updateStatus($this->getContextObjId(), $ilUser->getId());
954
955 $this->lng->loadLanguageModule('trac');
956 $this->tpl->setOnScreenMessage('success', $this->lng->txt('trac_updated_status'), true);
957
958 if ($redirect) {
959 $this->ctrl->redirect($this, ""); // #14993
960 }
961 }
static _updateStatus(int $a_obj_id, int $a_usr_id, ?object $a_obj=null, bool $a_percentage=false, bool $a_force_raise=false)
static _tracProgress(int $a_user_id, int $a_obj_id, int $a_ref_id, string $a_obj_type='')
static _lookupType(int $id, bool $reference=false)

References ilObject\_lookupType(), ilLearningProgress\_tracProgress(), ilLPStatusWrapper\_updateStatus(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ setBlockProperty()

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.

213 : void
214 {
215 $this->block_property[$a_block_type][$a_property] = $a_value;
216 }

◆ setCloseFormTag()

ilInfoScreenGUI::setCloseFormTag ( bool  $a_val)

Definition at line 695 of file class.ilInfoScreenGUI.php.

695 : void
696 {
697 $this->close_form_tag = $a_val;
698 }

◆ setColumnSettings()

ilInfoScreenGUI::setColumnSettings ( ilColumnGUI  $column_gui)

Set column settings.

Definition at line 683 of file class.ilInfoScreenGUI.php.

683 : void
684 {
685 $column_gui->setEnableEdit($this->news_editing);
686 $column_gui->setRepositoryMode(true);
687 $column_gui->setAllBlockProperties($this->getAllBlockProperties());
688 }
setAllBlockProperties(array $a_block_properties)
setEnableEdit(bool $a_enableedit)
setRepositoryMode(bool $a_repositorymode)

References ilColumnGUI\setAllBlockProperties(), ilColumnGUI\setEnableEdit(), and ilColumnGUI\setRepositoryMode().

+ Here is the call graph for this function:

◆ setContentObjType()

ilInfoScreenGUI::setContentObjType ( string  $contentObjType)

Definition at line 894 of file class.ilInfoScreenGUI.php.

894 : void
895 {
896 $this->contentObjType = $contentObjType;
897 }

◆ setContextObjId()

ilInfoScreenGUI::setContextObjId ( int  $contextObjId)

Definition at line 880 of file class.ilInfoScreenGUI.php.

880 : void
881 {
882 $this->contextObjId = $contextObjId;
883 }

◆ setContextRefId()

ilInfoScreenGUI::setContextRefId ( int  $contextRefId)

Definition at line 866 of file class.ilInfoScreenGUI.php.

866 : void
867 {
868 $this->contextRefId = $contextRefId;
869 }

◆ setFormAction()

ilInfoScreenGUI::setFormAction ( string  $a_form_action)
Deprecated:

Definition at line 233 of file class.ilInfoScreenGUI.php.

233 : void
234 {
235 $this->form_action = $a_form_action;
236 }

Referenced by ilCalendarAppointmentPresentationGUI\getModalHTML().

+ Here is the caller graph for this function:

◆ setMessageBox()

ilInfoScreenGUI::setMessageBox ( ILIAS\UI\Component\MessageBox\MessageBox  $a_val)

Definition at line 152 of file class.ilInfoScreenGUI.php.

152 : void
153 {
154 $this->mbox = $a_val;
155 }

◆ setOpenFormTag()

ilInfoScreenGUI::setOpenFormTag ( bool  $a_val)

Definition at line 690 of file class.ilInfoScreenGUI.php.

690 : void
691 {
692 $this->open_form_tag = $a_val;
693 }

◆ setTableClass()

ilInfoScreenGUI::setTableClass ( string  $a_val)

Definition at line 163 of file class.ilInfoScreenGUI.php.

163 : void
164 {
165 $this->table_class = $a_val;
166 }

◆ setTabs()

ilInfoScreenGUI::setTabs ( )

Definition at line 1041 of file class.ilInfoScreenGUI.php.

1041 : void
1042 {
1043 $this->getTabs($this->tabs_gui);
1044 }
getTabs(ilTabsGUI $tabs_gui)

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ showLDAPRoleGroupMappingInfo()

ilInfoScreenGUI::showLDAPRoleGroupMappingInfo ( string  $a_section = '')
Parameters
string$a_sectionsection name. Leave empty to place this info string inside a section

Definition at line 1021 of file class.ilInfoScreenGUI.php.

1021 : void
1022 {
1023 if (strlen($a_section)) {
1024 $this->addSection($a_section);
1025 }
1026 $ldap_mapping = ilLDAPRoleGroupMapping::_getInstance();
1027 if ($infos = $ldap_mapping->getInfoStrings($this->gui_object->getObject()->getId())) {
1028 $info_combined = '<div style="color:green;">';
1029 $counter = 0;
1030 foreach ($infos as $info_string) {
1031 if ($counter++) {
1032 $info_combined .= '<br />';
1033 }
1034 $info_combined .= $info_string;
1035 }
1036 $info_combined .= '</div>';
1037 $this->addProperty($this->lng->txt('applications'), $info_combined);
1038 }
1039 }
static _getInstance()
Get singleton instance of this class.
$counter

References $counter, ilLDAPRoleGroupMapping\_getInstance(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ showLearningProgress()

ilInfoScreenGUI::showLearningProgress ( ilTemplate  $a_tpl)
Parameters
ilTemplate$a_tpl
Exceptions
ilDateTimeException

Definition at line 903 of file class.ilInfoScreenGUI.php.

903 : void
904 {
905 return;
906
907 $ilUser = $this->user;
909
910 if (!$rbacsystem->checkAccess('read', $this->getContextRefId())) {
911 return;
912 }
913 if ($ilUser->getId() == ANONYMOUS_USER_ID) {
914 return;
915 }
916
918 return;
919 }
920
922 if ($olp->getCurrentMode() != ilLPObjSettings::LP_MODE_MANUAL) {
923 return;
924 }
925
926 $this->lng->loadLanguageModule('trac');
927
928 // section header
929 // $a_tpl->setCurrentBlock("header_row");
930 $a_tpl->setVariable(
931 "TXT_SECTION",
932 $this->lng->txt('learning_progress')
933 );
934 $a_tpl->parseCurrentBlock();
935 }
setVariable($variable, $value='')
Sets a variable value.
Definition: IT.php:544
static getInstance(int $obj_id)
checkAccess(string $a_operations, int $a_ref_id, string $a_type="")
checkAccess represents the main method of the RBAC-system in ILIAS3 developers want to use With this ...
parseCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
const ANONYMOUS_USER_ID
Definition: constants.php:27

References 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:

◆ showNotesSection()

ilInfoScreenGUI::showNotesSection ( )
Returns
string
Exceptions
ilCtrlException

Definition at line 968 of file class.ilInfoScreenGUI.php.

968 : string
969 {
970 global $DIC;
971
972 $ilAccess = $this->access;
974 $notes_gui = $DIC->notes()->gui();
975 $notes_gui->initJavascript();
976 $comments_gui = $notes_gui->getCommentsGUI(
977 $this->gui_object->getObject()->getId(),
978 0,
979 $this->gui_object->getObject()->getType()
980 );
981
982 $next_class = $this->ctrl->getNextClass($this);
983 $comments_gui->setUseObjectTitleHeader(false);
984
985 // global switch
986 if ($ilSetting->get("disable_comments")) {
987 return "";
988 } else {
989 $ref_id = $this->gui_object->getObject()->getRefId();
990 $has_write = $ilAccess->checkAccess("write", "", $ref_id);
991
992 if ($has_write && $ilSetting->get("comments_del_tutor", "1")) {
993 $comments_gui->enablePublicNotesDeletion();
994 }
995
996 /* should probably be discussed further
997 for now this will only work properly with comments settings
998 (see ilNoteGUI constructor)
999 */
1000 if ($has_write ||
1001 $ilAccess->checkAccess("edit_permissions", "", $ref_id)) {
1002 $comments_gui->enableCommentsSettings();
1003 }
1004 }
1005
1006 /* moved to action menu
1007 $notes_gui->enablePrivateNotes();
1008 */
1009 if ($next_class === strtolower(ilCommentGUI::class)) {
1010 $html = $this->ctrl->forwardCommand($comments_gui);
1011 } else {
1012 $html = $comments_gui->getListHTML();
1013 }
1014
1015 return $html;
1016 }
ilAccessHandler $access

References $DIC, $ilSetting, $ref_id, and ILIAS\Repository\ctrl().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showSummary()

ilInfoScreenGUI::showSummary ( )
Exceptions
ilCtrlException
ilDatabaseException
ilDateTimeException
ilObjectNotFoundException

Definition at line 612 of file class.ilInfoScreenGUI.php.

612 : void
613 {
615
618 }
setRightContent(string $a_html)
Sets content of right column.

References ilGlobalPageTemplate\setContent(), and ilGlobalPageTemplate\setRightContent().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $access

ilAccessHandler ilInfoScreenGUI::$access
protected

Definition at line 42 of file class.ilInfoScreenGUI.php.

◆ $availability_enabled

bool ilInfoScreenGUI::$availability_enabled = true
protected

Definition at line 62 of file class.ilInfoScreenGUI.php.

◆ $block_property

array ilInfoScreenGUI::$block_property = []
protected

Definition at line 65 of file class.ilInfoScreenGUI.php.

Referenced by getAllBlockProperties().

◆ $booking_enabled

bool ilInfoScreenGUI::$booking_enabled = false
protected

Definition at line 61 of file class.ilInfoScreenGUI.php.

◆ $close_form_tag

bool ilInfoScreenGUI::$close_form_tag = true

Definition at line 56 of file class.ilInfoScreenGUI.php.

◆ $contentObjType

string ilInfoScreenGUI::$contentObjType = null
protected

Definition at line 59 of file class.ilInfoScreenGUI.php.

◆ $contextObjId

int ilInfoScreenGUI::$contextObjId = null
protected

Definition at line 58 of file class.ilInfoScreenGUI.php.

◆ $contextRefId

int ilInfoScreenGUI::$contextRefId = null
protected

Definition at line 57 of file class.ilInfoScreenGUI.php.

◆ $ctrl

ilCtrl ilInfoScreenGUI::$ctrl

Definition at line 49 of file class.ilInfoScreenGUI.php.

◆ $data_factory

DataFactory ilInfoScreenGUI::$data_factory
protected

Definition at line 47 of file class.ilInfoScreenGUI.php.

◆ $feedback_enabled

bool ilInfoScreenGUI::$feedback_enabled = false
protected

Definition at line 71 of file class.ilInfoScreenGUI.php.

◆ $form_action

string ilInfoScreenGUI::$form_action

Definition at line 60 of file class.ilInfoScreenGUI.php.

◆ $gui_object

object ilInfoScreenGUI::$gui_object

Definition at line 50 of file class.ilInfoScreenGUI.php.

◆ $hidden

bool ilInfoScreenGUI::$hidden = false
protected

Definition at line 63 of file class.ilInfoScreenGUI.php.

Referenced by addSection().

◆ $hiddenelements

array ilInfoScreenGUI::$hiddenelements = array()

Definition at line 53 of file class.ilInfoScreenGUI.php.

◆ $html

ILIAS Repository HTML HTMLUtil ilInfoScreenGUI::$html
protected

Definition at line 36 of file class.ilInfoScreenGUI.php.

Referenced by executeCommand().

◆ $learning_progress_enabled

bool ilInfoScreenGUI::$learning_progress_enabled = false
protected

Definition at line 72 of file class.ilInfoScreenGUI.php.

◆ $lng

ilLanguage ilInfoScreenGUI::$lng

Definition at line 48 of file class.ilInfoScreenGUI.php.

Referenced by __construct().

◆ $mbox

ILIAS UI Component MessageBox MessageBox ilInfoScreenGUI::$mbox = null
protected

Definition at line 38 of file class.ilInfoScreenGUI.php.

Referenced by getMessageBox().

◆ $metadata

Metadata ilInfoScreenGUI::$metadata
protected

Definition at line 46 of file class.ilInfoScreenGUI.php.

◆ $news_editing

bool ilInfoScreenGUI::$news_editing = false
protected

Definition at line 66 of file class.ilInfoScreenGUI.php.

◆ $news_enabled

bool ilInfoScreenGUI::$news_enabled = false
protected

Definition at line 70 of file class.ilInfoScreenGUI.php.

◆ $open_form_tag

bool ilInfoScreenGUI::$open_form_tag = true

Definition at line 55 of file class.ilInfoScreenGUI.php.

◆ $private_notes_enabled

bool ilInfoScreenGUI::$private_notes_enabled = false
protected

Definition at line 69 of file class.ilInfoScreenGUI.php.

◆ $rbacsystem

ilRbacSystem ilInfoScreenGUI::$rbacsystem
protected

Definition at line 40 of file class.ilInfoScreenGUI.php.

◆ $request

StandardGUIRequest ilInfoScreenGUI::$request
protected

Definition at line 73 of file class.ilInfoScreenGUI.php.

◆ $sec_nr

int ilInfoScreenGUI::$sec_nr = 0
protected

Definition at line 68 of file class.ilInfoScreenGUI.php.

Referenced by addProperty(), and addSection().

◆ $section

array ilInfoScreenGUI::$section = []
protected

Definition at line 64 of file class.ilInfoScreenGUI.php.

◆ $settings

ilSetting ilInfoScreenGUI::$settings
protected

Definition at line 45 of file class.ilInfoScreenGUI.php.

◆ $show_hidden_toggle

bool ilInfoScreenGUI::$show_hidden_toggle = false
protected

Definition at line 67 of file class.ilInfoScreenGUI.php.

◆ $table_class

string ilInfoScreenGUI::$table_class = "il_InfoScreen"

Definition at line 54 of file class.ilInfoScreenGUI.php.

Referenced by getTableClass().

◆ $tabs_gui

ilTabsGUI ilInfoScreenGUI::$tabs_gui
protected

Definition at line 39 of file class.ilInfoScreenGUI.php.

◆ $top_buttons

array ilInfoScreenGUI::$top_buttons = array()

Definition at line 51 of file class.ilInfoScreenGUI.php.

◆ $top_formbuttons

array ilInfoScreenGUI::$top_formbuttons = array()

Definition at line 52 of file class.ilInfoScreenGUI.php.

◆ $tpl

ilGlobalPageTemplate ilInfoScreenGUI::$tpl
protected

Definition at line 41 of file class.ilInfoScreenGUI.php.

Referenced by executeCommand().

◆ $tree

ilTree ilInfoScreenGUI::$tree
protected

Definition at line 44 of file class.ilInfoScreenGUI.php.

◆ $ui

ILIAS DI UIServices ilInfoScreenGUI::$ui
protected

Definition at line 37 of file class.ilInfoScreenGUI.php.

◆ $user

ilObjUser ilInfoScreenGUI::$user
protected

Definition at line 43 of file class.ilInfoScreenGUI.php.


The documentation for this class was generated from the following file: