Public Member Functions | |
| ilForumTabsGUI () | |
| setTemplateVariable ($a_temp_var) | |
| setForum (&$a_frm) | |
| setRefId ($a_ref_id) | |
| setTabs () | |
| output tabs | |
| getTabs (&$tabs_gui) | |
| adds tabs to tab gui object | |
Data Fields | |
| $lng | |
| $tpl | |
| $frm | |
| $ref_id | |
Definition at line 36 of file class.ilForumTabsGUI.php.
| ilForumTabsGUI::getTabs | ( | &$ | tabs_gui | ) |
adds tabs to tab gui object
| object | $tabs_gui ilTabsGUI object |
Definition at line 81 of file class.ilForumTabsGUI.php.
References $_GET, and $rbacsystem.
Referenced by setTabs().
{
global $rbacsystem;
// properties
if ($rbacsystem->checkAccess("write", $_GET["ref_id"]))
{
$tabs_gui->addTarget("edit_properties",
"repository.php?cmd=properties&ref_id=".$_GET["ref_id"],
"properties");
}
// edit permission
if ($rbacsystem->checkAccess("edit_permission", $_GET["ref_id"]))
{
$tabs_gui->addTarget("perm_settings",
"repository.php?cmd=permissions&ref_id=".$_GET["ref_id"],
"permissions");
}
}
Here is the caller graph for this function:| ilForumTabsGUI::ilForumTabsGUI | ( | ) |
| ilForumTabsGUI::setForum | ( | &$ | a_frm | ) |
Definition at line 57 of file class.ilForumTabsGUI.php.
{
$this->frm =& $a_frm;
}
| ilForumTabsGUI::setRefId | ( | $ | a_ref_id | ) |
Definition at line 62 of file class.ilForumTabsGUI.php.
{
$this->ref_id =& $a_ref_id;
}
| ilForumTabsGUI::setTabs | ( | ) |
output tabs
Definition at line 70 of file class.ilForumTabsGUI.php.
References getTabs().
{
$this->getTabs($this->tabs_gui);
$this->tpl->setVariable("TABS", $this->tabs_gui->getHTML());
}
Here is the call graph for this function:| ilForumTabsGUI::setTemplateVariable | ( | $ | a_temp_var | ) |
Definition at line 52 of file class.ilForumTabsGUI.php.
{
$this->temp_var = $a_temp_var;
}
| ilForumTabsGUI::$frm |
Definition at line 40 of file class.ilForumTabsGUI.php.
| ilForumTabsGUI::$lng |
Definition at line 38 of file class.ilForumTabsGUI.php.
Referenced by ilForumTabsGUI().
| ilForumTabsGUI::$ref_id |
Definition at line 41 of file class.ilForumTabsGUI.php.
| ilForumTabsGUI::$tpl |
Definition at line 39 of file class.ilForumTabsGUI.php.
Referenced by ilForumTabsGUI().
1.7.1