◆ __construct()
| ilMDCopyrightUsageGUI::__construct |
( |
int |
$a_entry_id | ) |
|
◆ applyUsageFilter()
| ilMDCopyrightUsageGUI::applyUsageFilter |
( |
| ) |
|
|
protected |
Definition at line 98 of file class.ilMDCopyrightUsageGUI.php.
98 : void
99 {
101 $this,
102 self::DEFAULT_CMD,
103 );
104 $table_gui->init();
105 $table_gui->resetOffset();
106 $table_gui->writeFilterToSession();
107
108 $this->
ctrl->redirect($this, self::DEFAULT_CMD);
109 }
References ILIAS\Repository\ctrl().
◆ executeCommand()
| ilMDCopyrightUsageGUI::executeCommand |
( |
| ) |
|
Definition at line 42 of file class.ilMDCopyrightUsageGUI.php.
42 : void
43 {
44
45 $this->
ctrl->saveParameter($this,
'entry_id');
46
47 $user = '';
48 if ($this->
http->wrapper()->query()->has(
'user')) {
49 $user = $this->
http->wrapper()->query()->retrieve(
50 'user',
51 $this->
refinery->kindlyTo()->string()
52 );
53 }
54
56 $next_class = $this->
ctrl->getNextClass($this);
57 switch ($this->
ctrl->getNextClass($this)) {
58 case 'ilpublicuserprofilegui':
60 'user',
61 $this->refinery->kindlyTo()->int()
62 ));
63 $profile_gui->setBackUrl(
64 $this->
ctrl->getLinkTarget($this, self::DEFAULT_CMD)
65 );
66 $html = $this->
ctrl->forwardCommand($profile_gui);
67 $this->tpl->setContent($html);
68 break;
69
70 default:
71 $cmd = $this->
ctrl->getCmd(self::DEFAULT_CMD);
72 $this->$cmd();
73 break;
74 }
75 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), and setTabs().
◆ getEntryId()
| ilMDCopyrightUsageGUI::getEntryId |
( |
| ) |
|
◆ resetUsageFilter()
| ilMDCopyrightUsageGUI::resetUsageFilter |
( |
| ) |
|
|
protected |
Definition at line 111 of file class.ilMDCopyrightUsageGUI.php.
111 : void
112 {
114 $this,
115 self::DEFAULT_CMD,
116 );
117 $table_gui->init();
118 $table_gui->resetOffset();
119 $table_gui->resetFilter();
120
121 $this->
ctrl->redirect($this, self::DEFAULT_CMD);
122 }
References ILIAS\Repository\ctrl().
◆ setTabs()
| ilMDCopyrightUsageGUI::setTabs |
( |
| ) |
|
|
protected |
◆ showUsageTable()
| ilMDCopyrightUsageGUI::showUsageTable |
( |
| ) |
|
Definition at line 77 of file class.ilMDCopyrightUsageGUI.php.
77 : void
78 {
79 $this->tpl->setOnScreenMessage(
'info', $this->
lng->txt(
"meta_info_only_repository_objects"));
80
82 $this,
83 self::DEFAULT_CMD,
84 );
85 $table_gui->setFilterCommand("applyUsageFilter");
86 $table_gui->setResetCommand("resetUsageFilter");
87 $table_gui->init();
88 $table_gui->parse();
89
90 $this->tpl->setContent($table_gui->getHTML());
91 }
References ILIAS\Repository\lng().
◆ $ctrl
| ilCtrl ilMDCopyrightUsageGUI::$ctrl |
|
protected |
◆ $entry_id
| int ilMDCopyrightUsageGUI::$entry_id |
|
protected |
◆ $http
◆ $lng
◆ $refinery
| Factory ilMDCopyrightUsageGUI::$refinery |
|
protected |
◆ $tabs
◆ $tpl
◆ DEFAULT_CMD
The documentation for this class was generated from the following file: