Dashboard recommended content UI.
More...
◆ executeCommand()
ilDashboardRecommendedContentGUI::executeCommand |
( |
| ) |
|
◆ getListItemGroups()
ilDashboardRecommendedContentGUI::getListItemGroups |
( |
| ) |
|
|
protected |
- Returns
- Group[]
Definition at line 97 of file class.ilDashboardRecommendedContentGUI.php.
References $ctrl, $DIC, Vendor\Package\$e, $factory, $location, $ref_id, $type, ilObject\_lookupDescription(), ilObject\_lookupObjectId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilObjectActivation\addListGUIActivationProperty(), ilCtrl\clearParameterByClass(), ilCtrl\getLinkTarget(), ILIAS\Repository\int(), ilCtrl\setParameter(), ILIAS\Repository\settings(), and ilStr\shortenTextExtended().
Referenced by render().
105 foreach ($this->recommendations as
$ref_id) {
107 if (!$DIC->access()->checkAccess(
'visible',
'', $ref_id)) {
110 $list_items[] = $this->getListItemForData($ref_id);
116 $item_groups[] =
$factory->item()->group(
"", $list_items);
◆ makeFavourite()
ilDashboardRecommendedContentGUI::makeFavourite |
( |
| ) |
|
|
protected |
Definition at line 222 of file class.ilDashboardRecommendedContentGUI.php.
References $ctrl, $lng, $requested_item_ref_id, ilCtrl\returnToParent(), ilLanguage\txt(), and ILIAS\Repository\user().
227 $this->main_tpl->setOnScreenMessage(
'success',
$lng->
txt(
"dash_added_to_favs"),
true);
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...
returnToParent(object $a_gui_obj, string $a_anchor=null)
int $requested_item_ref_id
◆ remove()
ilDashboardRecommendedContentGUI::remove |
( |
| ) |
|
|
protected |
Definition at line 213 of file class.ilDashboardRecommendedContentGUI.php.
References $ctrl, $lng, $requested_item_ref_id, ilCtrl\returnToParent(), ilLanguage\txt(), and ILIAS\Repository\user().
218 $this->main_tpl->setOnScreenMessage(
'success',
$lng->
txt(
"dash_item_removed"),
true);
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...
returnToParent(object $a_gui_obj, string $a_anchor=null)
int $requested_item_ref_id
◆ render()
ilDashboardRecommendedContentGUI::render |
( |
| ) |
|
◆ $ctrl
ilCtrl ilDashboardRecommendedContentGUI::$ctrl |
|
protected |
◆ $fav_manager
◆ $list_by_type
array ilDashboardRecommendedContentGUI::$list_by_type = [] |
|
static |
◆ $lng
◆ $main_tpl
◆ $objDefinition
◆ $rec_manager
◆ $recommendations
array ilDashboardRecommendedContentGUI::$recommendations |
|
protected |
◆ $requested_item_ref_id
int ilDashboardRecommendedContentGUI::$requested_item_ref_id |
|
protected |
◆ $settings
ilSetting ilDashboardRecommendedContentGUI::$settings |
|
protected |
◆ $ui
ILIAS DI UIServices ilDashboardRecommendedContentGUI::$ui |
|
protected |
◆ $user
ilObjUser ilDashboardRecommendedContentGUI::$user |
|
protected |
The documentation for this class was generated from the following file: