19 declare(strict_types=1);
33 $this->
ctrl->setParameter($this,
'view', $this->viewSettings->getCurrentView());
38 $this->
lng->loadLanguageModule(
'rep');
39 $txt = $this->
lng->txt(
'rep_fav_intro1') .
'<br>';
41 $this->
lng->txt(
'rep_fav_intro2'),
44 $txt .= $this->
lng->txt(
'rep_fav_intro3');
45 $mbox = $this->
ui->factory()->messageBox()->info(
$txt);
46 $mbox = $mbox->withLinks(
48 $this->
ui->factory()->link()->standard(
56 $this->
factory->panel()->standard(
68 $start = isset($item[
'start']) && $item[
'start'] instanceof
ilDateTime ? $item[
'start'] :
null;
69 $end = isset($item[
'end']) && $item[
'end'] instanceof
ilDateTime ? $item[
'end'] :
null;
73 (
int) $item[
'ref_id'],
74 (
int) $item[
'obj_id'],
93 $this->favourites_manager->remove($this->
user->getId(),
$ref_id);
96 $this->main_tpl->setOnScreenMessage(
'success', $this->
lng->txt(
'pd_remove_multi_confirm'),
true);
97 $this->
ctrl->returnToParent($this);
107 return $this->
lng->txt(
'pd_remove_multiple');
confirmedRemove(array $ids)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static _getStaticLink(?int $a_ref_id, string $a_type='', bool $a_fallback_goto=true, string $append="")
getRemoveMultipleActionText()
const VIEW_SELECTED_ITEMS