ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ilPortfolioRepositoryGUI Class Reference

Portfolio repository gui class. More...

+ Collaboration diagram for ilPortfolioRepositoryGUI:

Public Member Functions

 __construct ()
 
 executeCommand ()
 
 setTabs ()
 
 redirectSendMailToSharer (string $share_id)
 

Protected Member Functions

 setLocator ()
 
 checkAccess (string $a_permission, ?int $a_portfolio_id=null)
 
 show ()
 
 getPortfolioList ()
 
 setOnline ()
 
 setOffline ()
 
 saveTitles ()
 
 confirmPortfolioDeletion ()
 
 deletePortfolios ()
 
 getWorkspaceAccess ()
 
 showOtherFilter ()
 
 showOther (bool $a_load_data=true)
 
 applyShareFilter ()
 
 resetShareFilter ()
 
 hasShareFilterData (array $filter_data)
 

Protected Attributes

ILIAS PersonalWorkspace InternalGUIService $workspace_gui
 
ILIAS Portfolio InternalDomainService $domain
 
ILIAS Portfolio InternalGUIService $gui
 
StandardGUIRequest $port_request
 
ilLanguage $lng
 
ilObjUser $user
 
ilCtrl $ctrl
 
ilGlobalTemplateInterface $tpl
 
ilTabsGUI $tabs
 
ilHelpGUI $help
 
ilLocatorGUI $locator
 
ilToolbarGUI $toolbar
 
ilSetting $settings
 
int $user_id
 
ilPortfolioAccessHandler $access_handler
 
ILIAS DI UIServices $ui
 

Detailed Description

Portfolio repository gui class.

Author
Jörg Lützenkirchen luetz.nosp@m.enki.nosp@m.rchen.nosp@m.@lei.nosp@m.fos.c.nosp@m.om @ilCtrl_Calls ilPortfolioRepositoryGUI: ilObjPortfolioGUI, ilObjExerciseGUI

Definition at line 27 of file class.ilPortfolioRepositoryGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilPortfolioRepositoryGUI::__construct ( )

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

47 {
48 global $DIC;
49
50 $service = $DIC->portfolio()->internal();
51 $this->workspace_gui = $DIC->personalWorkspace()->internal()->gui();
52 $this->domain = $service->domain();
53 $this->gui = $service->gui();
54
55 $this->lng = $this->domain->lng();
56 $this->user = $this->domain->user();
57 $this->ctrl = $this->gui->ctrl();
58 $this->tpl = $this->gui->ui()->mainTemplate();
59 $this->tabs = $this->gui->tabs();
60 $this->help = $this->gui->help();
61 $this->locator = $this->gui->locator();
62 $this->toolbar = $this->gui->toolbar();
63 $this->settings = $this->domain->settings();
64 $this->ui = $this->gui->ui();
65
66 $this->lng->loadLanguageModule("prtf");
67 $this->lng->loadLanguageModule("user");
68
69 $this->access_handler = new ilPortfolioAccessHandler();
70
71 $this->port_request = $this->gui->standardRequest();
72
73 $this->user_id = $this->user->getId();
74 }
Access handler for portfolio NOTE: This file needs to stay in the classes directory,...
$service
Definition: ltiresult.php:44
global $DIC
Definition: shib_login.php:26

References $DIC, $service, ILIAS\Repository\ctrl(), ILIAS\Repository\help(), ILIAS\Repository\lng(), ILIAS\Repository\locator(), ILIAS\Repository\settings(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), ILIAS\Repository\ui(), and ILIAS\Repository\user().

+ Here is the call graph for this function:

Member Function Documentation

◆ applyShareFilter()

ilPortfolioRepositoryGUI::applyShareFilter ( )
protected

Definition at line 487 of file class.ilPortfolioRepositoryGUI.php.

487 : void
488 {
489 $this->showOther();
490 }

◆ checkAccess()

ilPortfolioRepositoryGUI::checkAccess ( string  $a_permission,
?int  $a_portfolio_id = null 
)
protected

Definition at line 162 of file class.ilPortfolioRepositoryGUI.php.

165 : bool {
166 if ($a_portfolio_id) {
167 return $this->access_handler->checkAccess($a_permission, "", $a_portfolio_id);
168 }
169 // currently only object-based permissions
170 return true;
171 }

◆ confirmPortfolioDeletion()

ilPortfolioRepositoryGUI::confirmPortfolioDeletion ( )
protected

Definition at line 385 of file class.ilPortfolioRepositoryGUI.php.

385 : void
386 {
387 $ilCtrl = $this->ctrl;
390
391 $prtfs = $this->port_request->getPortfolioIds();
392
393 if (count($prtfs) === 0) {
394 $this->tpl->setOnScreenMessage('info', $lng->txt("no_checkbox"), true);
395 $ilCtrl->redirect($this, "show");
396 } else {
397 $cgui = new ilConfirmationGUI();
398 $cgui->setFormAction($ilCtrl->getFormAction($this));
399 $cgui->setHeaderText($lng->txt("prtf_sure_delete_portfolios"));
400 $cgui->setCancel($lng->txt("cancel"), "show");
401 $cgui->setConfirm($lng->txt("delete"), "deletePortfolios");
402
403 foreach ($prtfs as $id) {
404 $cgui->addItem("prtfs[]", $id, ilObjPortfolio::_lookupTitle($id));
405 }
406
407 $tpl->setContent($cgui->getHTML());
408 }
409 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
txt(string|LanguageIdentifier $a_topic, ?int $n=null)
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
static _lookupTitle(int $obj_id)
setContent(string $a_html)
Sets content for standard template.

References $id, $lng, ILIAS\News\Common\Table\$tpl, ilObject\_lookupTitle(), and ILIAS\UICore\GlobalTemplate\setContent().

+ Here is the call graph for this function:

◆ deletePortfolios()

ilPortfolioRepositoryGUI::deletePortfolios ( )
protected

Definition at line 411 of file class.ilPortfolioRepositoryGUI.php.

411 : void
412 {
414 $ilCtrl = $this->ctrl;
415
416 $port_ids = $this->port_request->getPortfolioIds();
417 foreach ($port_ids as $id) {
418 if ($this->checkAccess("write", $id)) {
419 $portfolio = new ilObjPortfolio($id, false);
420 if ($portfolio->getOwner() === $this->user_id) {
421 $this->access_handler->removePermission($id);
422 $portfolio->delete();
423 }
424 }
425 }
426 $this->tpl->setOnScreenMessage('success', $lng->txt("prtf_portfolio_deleted"), true);
427 $ilCtrl->redirect($this, "show");
428 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
checkAccess(string $a_permission, ?int $a_portfolio_id=null)

References $id, and $lng.

◆ executeCommand()

ilPortfolioRepositoryGUI::executeCommand ( )

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

76 : void
77 {
78 $ilCtrl = $this->ctrl;
81 $ilTabs = $this->tabs;
82
83 if (!$this->access_handler->editPortfolios()) {
84 throw new ilException($this->lng->txt("no_permission"));
85 }
86
87 $next_class = $ilCtrl->getNextClass($this);
88 $cmd = $ilCtrl->getCmd("show");
89
90 $tpl->setTitle($lng->txt("portfolio"));
92 ilUtil::getImagePath("standard/icon_prtf.svg"),
93 $lng->txt("portfolio")
94 );
95
96 switch ($next_class) {
97 case "ilobjportfoliogui":
98
99 $gui = new ilObjPortfolioGUI($this->port_request->getPortfolioId());
100
101 if ($cmd !== "preview") {
102 $this->setLocator();
103
104 $exercise_back_ref_id = $this->port_request->getExcBackRefId();
105 if ($exercise_back_ref_id > 0) {
106 $ilTabs->setBack2Target($lng->txt("obj_exc"), ilLink::_getLink($exercise_back_ref_id));
107 } else {
108 $ilTabs->setBack2Target($lng->txt("prtf_tab_portfolios"), $ilCtrl->getLinkTarget($this, "show"));
109 }
110 }
111
112 $ilCtrl->forwardCommand($gui);
113 break;
114
115 default:
116 $this->setLocator();
117 $this->setTabs();
118 $this->$cmd();
119 break;
120 }
121 }
Base class for ILIAS Exception handling.
@ilCtrl_Calls ilObjPortfolioGUI: ilPortfolioPageGUI, ilPageObjectGUI @ilCtrl_Calls ilObjPortfolioGUI:...
ILIAS Portfolio InternalGUIService $gui
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
setTitle(string $a_title, bool $hidden=false)
Sets title in standard template.
setTitleIcon(string $a_icon_path, string $a_icon_desc="")
set title icon

References $ctrl, $gui, $lng, $tabs, $tpl, ilUtil\getImagePath(), ILIAS\Repository\lng(), setLocator(), setTabs(), ILIAS\UICore\GlobalTemplate\setTitle(), ILIAS\UICore\GlobalTemplate\setTitleIcon(), and ilLanguage\txt().

+ Here is the call graph for this function:

◆ getPortfolioList()

ilPortfolioRepositoryGUI::getPortfolioList ( )
protected

Definition at line 202 of file class.ilPortfolioRepositoryGUI.php.

202 : string
203 {
204 $ui = $this->ui;
205 $f = $ui->factory();
206 $renderer = $ui->renderer();
209
211
212 $shared_objects = $access_handler->getObjectsIShare(false);
213
214 $items = [];
215
216 foreach (ilObjPortfolio::getPortfoliosOfUser($this->user_id) as $port) {
217 // icon
218 $icon = $f->symbol()->icon()->custom(
219 ilUtil::getImagePath("standard/icon_prtf.svg"),
220 $lng->txt("obj_portfolio"),
221 "medium"
222 );
223 if (!$port["is_online"] || !in_array($port["id"], $shared_objects)) {
224 $icon = $icon->withDisabled(true);
225 }
226
227 // actions
228 $prtf_path = array(get_class($this), "ilobjportfoliogui");
229 $action = [];
230 // ... preview
231 $ctrl->setParameterByClass("ilobjportfoliogui", "prt_id", $port["id"]);
232 $preview_action = $ctrl->getLinkTargetByClass($prtf_path, "preview");
233 $action[] = $f->button()->shy($lng->txt("preview"), $preview_action);
234 // ... edit content
235 $action[] = $f->button()->shy(
236 $lng->txt("prtf_edit_content"),
237 $ctrl->getLinkTargetByClass($prtf_path, "view")
238 );
239 $ctrl->setParameter($this, "prt_id", $port["id"]);
240 if ($port["is_online"]) {
241 // ... set offline
242 $action[] = $f->button()->shy(
243 $lng->txt("prtf_set_offline"),
244 $ctrl->getLinkTarget($this, "setOffline")
245 );
246 } else {
247 // ... set online
248 $action[] = $f->button()->shy(
249 $lng->txt("prtf_set_online"),
250 $ctrl->getLinkTarget($this, "setOnline")
251 );
252 }
253 $ctrl->setParameter($this, "prt_id", "");
254 // ... settings
255 $action[] = $f->button()->shy(
256 $lng->txt("settings"),
257 $ctrl->getLinkTargetByClass($prtf_path, "edit")
258 );
259 // ... sharing
260 $action[] = $f->button()->shy(
261 $lng->txt("wsp_permissions"),
262 $ctrl->getLinkTargetByClass(array(get_class($this), "ilobjportfoliogui", "ilWorkspaceAccessGUI"), "share")
263 );
264 $ctrl->setParameterByClass("ilobjportfoliogui", "prt_id", "");
265
266 // ... delete
267 $ctrl->setParameter($this, "prtf", $port["id"]);
268 $action[] = $f->button()->shy(
269 $lng->txt("delete"),
270 $ctrl->getLinkTarget($this, "confirmPortfolioDeletion")
271 );
272 $ctrl->setParameter($this, "prtf", "");
273 $actions = $f->dropdown()->standard($action);
274
275
276 // properties
277 $props = [];
278 // ... online
279 $props[$lng->txt("online")] = ($port["is_online"])
280 ? $lng->txt("yes")
281 : $lng->txt("no");
282 //: "<span class='il_ItemAlertProperty'>" . $lng->txt("no") . "</span>";
283 // ... shared
284 $props[$lng->txt("wsp_status_shared")] = (in_array($port["id"], $shared_objects))
285 ? $lng->txt("yes")
286 : $lng->txt("no");
287 //: "<span class='il_ItemAlertProperty'>" . $lng->txt("no") . "</span>";
288 // ... default (my profile)
289 if ($port["is_default"]) {
290 $props[$lng->txt("prtf_default_portfolio")] = $lng->txt("yes");
291 }
292 // ... handed in
293 // exercise portfolio?
294 $exercises = ilPortfolioExerciseGUI::checkExercise($this->user_id, $port["id"], false, true);
295 $visible_to_tutor = false;
296 foreach ($exercises as $exinfo) {
297 if ($exinfo["submitted"]) {
298 $visible_to_tutor = true;
299 $props[$exinfo["ass_title"]] =
300 str_replace("$1", $exinfo["submitted_date"], $lng->txt("prtf_submission_on"));
301 } else {
302 $props[$exinfo["ass_title"]] = $lng->txt("prtf_no_submission");
303 //$props[$exinfo["ass_title"]] = "<span class='il_ItemAlertProperty'>" . $lng->txt("prtf_no_submission") . "</span>";
304 }
305 }
306 if ($visible_to_tutor) {
307 $props[$lng->txt("prtf_visible_for_tutor")] = $lng->txt("yes");
308 }
309
310
311 $items[] = $f->item()->standard($f->button()->shy($port["title"], $preview_action))
312 ->withActions($actions)
313 ->withProperties($props)
314 ->withLeadIcon($icon);
315 }
316
317
318 $std_list = $f->panel()->listing()->standard($lng->txt("prtf_portfolios"), array(
319 $f->item()->group("", $items)
320 ));
321
322 return $renderer->render($std_list);
323 }
$renderer
getLinkTarget(object $a_gui_obj, ?string $a_cmd=null, ?string $a_anchor=null, bool $is_async=false, bool $has_xml_style=false)
@inheritDoc
setParameter(object $a_gui_obj, string $a_parameter, $a_value)
@inheritDoc
setParameterByClass(string $a_class, string $a_parameter, $a_value)
@inheritDoc
getLinkTargetByClass( $a_class, ?string $a_cmd=null, ?string $a_anchor=null, bool $is_async=false, bool $has_xml_style=false)
@inheritDoc
static getPortfoliosOfUser(int $a_user_id)
Get portfolios of user.
getObjectsIShare(bool $a_online_only=true)
static checkExercise(int $a_user_id, int $a_obj_id, bool $a_add_submit=false, bool $as_array=false)
ilPortfolioAccessHandler $access_handler

References Vendor\Package\$f, $lng, $renderer, ilPortfolioExerciseGUI\checkExercise(), ilUtil\getImagePath(), and ilObjPortfolio\getPortfoliosOfUser().

+ Here is the call graph for this function:

◆ getWorkspaceAccess()

ilPortfolioRepositoryGUI::getWorkspaceAccess ( )
protected

Definition at line 436 of file class.ilPortfolioRepositoryGUI.php.

437 {
438 $wsp_access = $this->access_handler;
439 return $wsp_access;
440 }

◆ hasShareFilterData()

ilPortfolioRepositoryGUI::hasShareFilterData ( array  $filter_data)
protected

Definition at line 526 of file class.ilPortfolioRepositoryGUI.php.

526 : bool
527 {
528 foreach (["user", "title", "acl_type", "acl_date"] as $key) {
529 if (!empty($filter_data[$key])) {
530 return true;
531 }
532 }
533
534 return false;
535 }

◆ redirectSendMailToSharer()

ilPortfolioRepositoryGUI::redirectSendMailToSharer ( string  $share_id)

Definition at line 497 of file class.ilPortfolioRepositoryGUI.php.

497 : void
498 {
499 $parts = explode("_", $share_id);
500 $owner_id = isset($parts[0]) && ctype_digit($parts[0]) ? (int) $parts[0] : 0;
501 $prt_id = isset($parts[1]) && ctype_digit($parts[1]) ? (int) $parts[1] : 0;
502
503 if ($owner_id > 0) {
504 $login = ilObjUser::_lookupLogin($owner_id);
505
506 // #16530 - see ilObjCourseGUI::createMailSignature
507 $sig = chr(13) . chr(10) . chr(13) . chr(10);
508 $sig .= $this->lng->txt('prtf_permanent_link');
509 $sig .= chr(13) . chr(10) . chr(13) . chr(10);
510 $sig .= ilLink::_getStaticLink($prt_id, "prtf", true);
511 $sig = rawurlencode(base64_encode($sig));
512
514 $this,
515 "showotherFilter",
516 array(),
517 array(
518 'type' => 'new',
519 'rcp_to' => $login,
521 )
522 ));
523 }
524 }
final const string SIGNATURE_KEY
static getRedirectTarget( $gui, string $cmd, array $gui_params=[], array $mail_params=[], array $context_params=[])
static _lookupLogin(int $a_user_id)
static redirect(string $a_script)

References ilLink\_getStaticLink(), ilObjUser\_lookupLogin(), ilMailFormCall\getRedirectTarget(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilUtil\redirect(), and ilMailFormCall\SIGNATURE_KEY.

+ Here is the call graph for this function:

◆ resetShareFilter()

ilPortfolioRepositoryGUI::resetShareFilter ( )
protected

Definition at line 492 of file class.ilPortfolioRepositoryGUI.php.

492 : void
493 {
494 $this->showOther(false);
495 }

◆ saveTitles()

ilPortfolioRepositoryGUI::saveTitles ( )
protected

Definition at line 359 of file class.ilPortfolioRepositoryGUI.php.

359 : void
360 {
361 $ilCtrl = $this->ctrl;
363
364 $titles = $this->port_request->getTitles();
365 $online = $this->port_request->getOnline();
366 foreach ($titles as $id => $title) {
367 if (trim($title) && $this->checkAccess("write", $id)) {
368 $portfolio = new ilObjPortfolio($id, false);
369 $portfolio->setTitle(ilUtil::stripSlashes($title));
370
371 if (in_array($id, $online)) {
372 $portfolio->setOfflineStatus(false);
373 } else {
374 $portfolio->setOfflineStatus(true);
375 }
376
377 $portfolio->update();
378 }
379 }
380
381 $this->tpl->setOnScreenMessage('success', $lng->txt("saved_successfully"), true);
382 $ilCtrl->redirect($this, "show");
383 }
static stripSlashes(string $a_str, bool $a_strip_html=true, string $a_allow="")

References $id, $lng, and ilUtil\stripSlashes().

+ Here is the call graph for this function:

◆ setLocator()

ilPortfolioRepositoryGUI::setLocator ( )
protected

Definition at line 147 of file class.ilPortfolioRepositoryGUI.php.

147 : void
148 {
149 $ilLocator = $this->locator;
151 $ilCtrl = $this->ctrl;
153
154 $ilLocator->addItem(
155 $lng->txt("portfolio"),
156 $ilCtrl->getLinkTarget($this, "show")
157 );
158
159 $tpl->setLocator();
160 }
setLocator()
Insert locator.

References $ctrl, $lng, $locator, $tpl, ILIAS\UICore\GlobalTemplate\setLocator(), and ilLanguage\txt().

Referenced by executeCommand().

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

◆ setOffline()

ilPortfolioRepositoryGUI::setOffline ( )
protected

Definition at line 342 of file class.ilPortfolioRepositoryGUI.php.

342 : void
343 {
344 $ilCtrl = $this->ctrl;
346
347 $prt_id = $this->port_request->getPortfolioId();
348 if (ilObjPortfolio::_lookupOwner($prt_id) === $this->user_id) {
349 $portfolio = new ilObjPortfolio($prt_id, false);
350 $portfolio->setOfflineStatus(true);
351 $portfolio->update();
352 $this->tpl->setOnScreenMessage('success', $lng->txt("saved_successfully"), true);
353 $ilCtrl->redirect($this, "show");
354 }
355 $ilCtrl->redirect($this, "show");
356 }
static _lookupOwner(int $obj_id)
Lookup owner user ID for object ID.

References $lng, and ilObject\_lookupOwner().

+ Here is the call graph for this function:

◆ setOnline()

ilPortfolioRepositoryGUI::setOnline ( )
protected

Definition at line 326 of file class.ilPortfolioRepositoryGUI.php.

326 : void
327 {
328 $ilCtrl = $this->ctrl;
330
331 $prt_id = $this->port_request->getPortfolioId();
332 if (ilObjPortfolio::_lookupOwner($prt_id) === $this->user_id) {
333 $portfolio = new ilObjPortfolio($prt_id, false);
334 $portfolio->setOfflineStatus(false);
335 $portfolio->update();
336 $this->tpl->setOnScreenMessage('success', $lng->txt("saved_successfully"), true);
337 $ilCtrl->redirect($this, "show");
338 }
339 $ilCtrl->redirect($this, "show");
340 }

References $lng, and ilObject\_lookupOwner().

+ Here is the call graph for this function:

◆ setTabs()

ilPortfolioRepositoryGUI::setTabs ( )

Definition at line 123 of file class.ilPortfolioRepositoryGUI.php.

123 : void
124 {
125 $ilTabs = $this->tabs;
127 $ilCtrl = $this->ctrl;
128 $ilHelp = $this->help;
129
130 $ilHelp->setScreenIdComponent("prtf");
131
132 $ilTabs->addTab(
133 "mypf",
134 $lng->txt("prtf_tab_portfolios"),
135 $ilCtrl->getLinkTarget($this)
136 );
137
138 $ilTabs->addTab(
139 "otpf",
140 $lng->txt("prtf_tab_other_users"),
141 $ilCtrl->getLinkTarget($this, "showotherFilter")
142 );
143
144 $ilTabs->activateTab("mypf");
145 }
setScreenIdComponent(string $a_comp)

References $ctrl, $help, $lng, $tabs, ilHelpGUI\setScreenIdComponent(), and ilLanguage\txt().

Referenced by executeCommand().

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

◆ show()

ilPortfolioRepositoryGUI::show ( )
protected

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

178 : void
179 {
181 $ilToolbar = $this->toolbar;
182 $ilCtrl = $this->ctrl;
183
184 $this->gui->button(
185 $this->lng->txt("prtf_add_portfolio"),
186 $ilCtrl->getLinkTargetByClass("ilObjPortfolioGUI", "create")
187 )->toToolbar(true);
188
190 if (count($templates) > 0) {
191 $this->gui->button(
192 $this->lng->txt("prtf_add_portfolio_from_template"),
193 $ilCtrl->getLinkTargetByClass("ilObjPortfolioGUI", "createFromTemplate")
194 )->toToolbar(true);
195 }
196
197 $portfolio_list = $this->getPortfolioList();
198
199 $tpl->setContent($portfolio_list);
200 }
static getAvailablePortfolioTemplates(string $a_permission="read")

References ILIAS\News\Common\Table\$tpl, ilObjPortfolioTemplate\getAvailablePortfolioTemplates(), ILIAS\Repository\lng(), and ILIAS\UICore\GlobalTemplate\setContent().

+ Here is the call graph for this function:

◆ showOther()

ilPortfolioRepositoryGUI::showOther ( bool  $a_load_data = true)
protected

Definition at line 453 of file class.ilPortfolioRepositoryGUI.php.

455 : void {
456 $ilTabs = $this->tabs;
457 $ilTabs->activateTab("otpf");
458 $work_gui = $this->workspace_gui;
459 $filter = $work_gui->workspaceShareFilter(
460 "workspace_share_1_filter",
461 $this,
462 "showOther",
463 $this->getWorkspaceAccess(),
464 true
465 );
466 $filter_data = $filter->getData() ?? [];
467 $show_data = $a_load_data || $this->hasShareFilterData($filter_data);
468 $content = $filter->render();
469
470 if ($show_data) {
471 $table = $work_gui->workspaceShareTableBuilder(
472 $this->getWorkspaceAccess(),
473 true,
474 0,
475 $this,
476 "showOther"
477 )->getTable()->filterData($filter_data);
478 if ($table->handleCommand()) {
479 return;
480 }
481 $content .= $table->render();
482 }
483
484 $this->tpl->setContent($content);
485 }
ILIAS PersonalWorkspace InternalGUIService $workspace_gui
activateTab(string $a_id)

◆ showOtherFilter()

ilPortfolioRepositoryGUI::showOtherFilter ( )
protected

Definition at line 448 of file class.ilPortfolioRepositoryGUI.php.

448 : void
449 {
450 $this->showOther(false);
451 }

Field Documentation

◆ $access_handler

ilPortfolioAccessHandler ilPortfolioRepositoryGUI::$access_handler
protected

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

◆ $ctrl

ilCtrl ilPortfolioRepositoryGUI::$ctrl
protected

Definition at line 35 of file class.ilPortfolioRepositoryGUI.php.

Referenced by executeCommand(), setLocator(), and setTabs().

◆ $domain

ILIAS Portfolio InternalDomainService ilPortfolioRepositoryGUI::$domain
protected

Definition at line 30 of file class.ilPortfolioRepositoryGUI.php.

◆ $gui

ILIAS Portfolio InternalGUIService ilPortfolioRepositoryGUI::$gui
protected

Definition at line 31 of file class.ilPortfolioRepositoryGUI.php.

Referenced by executeCommand().

◆ $help

ilHelpGUI ilPortfolioRepositoryGUI::$help
protected

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

Referenced by setTabs().

◆ $lng

ilLanguage ilPortfolioRepositoryGUI::$lng
protected

Definition at line 33 of file class.ilPortfolioRepositoryGUI.php.

Referenced by executeCommand(), setLocator(), and setTabs().

◆ $locator

ilLocatorGUI ilPortfolioRepositoryGUI::$locator
protected

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

Referenced by setLocator().

◆ $port_request

StandardGUIRequest ilPortfolioRepositoryGUI::$port_request
protected

Definition at line 32 of file class.ilPortfolioRepositoryGUI.php.

◆ $settings

ilSetting ilPortfolioRepositoryGUI::$settings
protected

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

◆ $tabs

ilTabsGUI ilPortfolioRepositoryGUI::$tabs
protected

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

Referenced by executeCommand(), and setTabs().

◆ $toolbar

ilToolbarGUI ilPortfolioRepositoryGUI::$toolbar
protected

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

◆ $tpl

ilGlobalTemplateInterface ilPortfolioRepositoryGUI::$tpl
protected

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

Referenced by executeCommand(), and setLocator().

◆ $ui

ILIAS DI UIServices ilPortfolioRepositoryGUI::$ui
protected

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

◆ $user

ilObjUser ilPortfolioRepositoryGUI::$user
protected

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

◆ $user_id

int ilPortfolioRepositoryGUI::$user_id
protected

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

◆ $workspace_gui

ILIAS PersonalWorkspace InternalGUIService ilPortfolioRepositoryGUI::$workspace_gui
protected

Definition at line 29 of file class.ilPortfolioRepositoryGUI.php.


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