◆ __construct()
ilMDCopyrightUsageGUI::__construct |
( |
int |
$a_entry_id | ) |
|
ilMDCopyrightUsageGUI constructor.
- Parameters
-
Definition at line 45 of file class.ilMDCopyrightUsageGUI.php.
References $DIC.
49 $this->tpl = $DIC->ui()->mainTemplate();
51 $this->ctrl = $DIC->ctrl();
52 $this->lng = $DIC->language();
53 $this->tabs = $DIC->tabs();
55 $this->entry_id = $a_entry_id;
◆ applyUsageFilter()
ilMDCopyrightUsageGUI::applyUsageFilter |
( |
| ) |
|
|
protected |
Apply filter.
Definition at line 121 of file class.ilMDCopyrightUsageGUI.php.
129 $table_gui->resetOffset();
130 $table_gui->writeFilterToSession();
132 $this->ctrl->redirect($this, self::DEFAULT_CMD);
◆ executeCommand()
ilMDCopyrightUsageGUI::executeCommand |
( |
| ) |
|
Definition at line 61 of file class.ilMDCopyrightUsageGUI.php.
References $_GET, $html, setTabs(), and ilUtil\stripSlashes().
64 $this->ctrl->saveParameter($this,
'entry_id');
67 $next_class = $this->ctrl->getNextClass($this);
68 switch ($this->ctrl->getNextClass($this)) {
69 case 'ilpublicuserprofilegui':
71 $profile_gui->setBackUrl(
72 $this->ctrl->getLinkTarget($this, self::DEFAULT_CMD)
74 $html = $this->ctrl->forwardCommand($profile_gui);
75 $this->tpl->setContent(
$html);
79 $cmd = $this->ctrl->getCmd(self::DEFAULT_CMD);
GUI class for public user profile presentation.
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
◆ getEntryId()
ilMDCopyrightUsageGUI::getEntryId |
( |
| ) |
|
◆ resetUsageFilter()
ilMDCopyrightUsageGUI::resetUsageFilter |
( |
| ) |
|
|
protected |
Reset filter.
Definition at line 138 of file class.ilMDCopyrightUsageGUI.php.
146 $table_gui->resetOffset();
147 $table_gui->resetFilter();
149 $this->ctrl->redirect($this, self::DEFAULT_CMD);
◆ setTabs()
ilMDCopyrightUsageGUI::setTabs |
( |
| ) |
|
|
protected |
◆ showUsageTable()
ilMDCopyrightUsageGUI::showUsageTable |
( |
| ) |
|
Sho usage table.
Definition at line 88 of file class.ilMDCopyrightUsageGUI.php.
References $DIC, $lng, $tabs, and ilUtil\sendInfo().
93 $lng = $DIC->language();
102 $table_gui->setFilterCommand(
"applyUsageFilter");
103 $table_gui->setResetCommand(
"resetUsageFilter");
107 $this->tpl->setContent($table_gui->getHTML());
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
◆ $ctrl
ilMDCopyrightUsageGUI::$ctrl = null |
|
protected |
◆ $entry_id
ilMDCopyrightUsageGUI::$entry_id |
|
protected |
◆ $lng
ilMDCopyrightUsageGUI::$lng = null |
|
protected |
◆ $tabs
ilMDCopyrightUsageGUI::$tabs = null |
|
protected |
◆ $tpl
ilMDCopyrightUsageGUI::$tpl = null |
|
protected |
◆ DEFAULT_CMD
The documentation for this class was generated from the following file: