19declare(strict_types=1);
48 $this->tpl =
$DIC->ui()->mainTemplate();
49 $this->
http = $DIC->http();
50 $this->
ctrl = $DIC->ctrl();
51 $this->
lng = $DIC->language();
52 $this->
tabs = $DIC->tabs();
61 $this->
ctrl->saveParameter($this,
'entry_id');
64 if ($this->
http->wrapper()->query()->has(
'user')) {
65 $user = $this->
http->wrapper()->query()->retrieve(
67 $this->
refinery->kindlyTo()->string()
72 $next_class = $this->
ctrl->getNextClass($this);
73 switch ($this->
ctrl->getNextClass($this)) {
74 case strtolower(PublicProfileGUI::class):
77 $this->refinery->kindlyTo()->int()
79 $profile_gui->setBackUrl(
80 $this->
ctrl->getLinkTarget($this, self::DEFAULT_CMD)
82 $html = $this->
ctrl->forwardCommand($profile_gui);
83 $this->tpl->setContent($html);
87 $cmd = $this->
ctrl->getCmd(self::DEFAULT_CMD);
95 $this->tpl->setOnScreenMessage(
'info', $this->
lng->txt(
"meta_info_only_repository_objects"));
101 $table_gui->setFilterCommand(
"applyUsageFilter");
102 $table_gui->setResetCommand(
"resetUsageFilter");
106 $this->tpl->setContent($table_gui->getHTML());
111 return $this->entry->id();
116 return $this->entry->title();
126 $table_gui->resetOffset();
127 $table_gui->writeFilterToSession();
129 $this->
ctrl->redirect($this, self::DEFAULT_CMD);
139 $table_gui->resetOffset();
140 $table_gui->resetFilter();
142 $this->
ctrl->redirect($this, self::DEFAULT_CMD);
147 $this->
tabs->clearTargets();
148 $this->
tabs->setBackTarget(
149 $this->
lng->txt(
'back'),
150 $this->ctrl->getParentReturn($this)
GUI class for public user profile presentation.
Class ilCtrl provides processing control methods.
__construct(EntryInterface $entry)
ilGlobalTemplateInterface $tpl
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface GlobalHttpState.
static http()
Fetches the global http state from ILIAS.