ILIAS  Release_4_2_x_branch Revision 61807
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilForumTabsGUI Class Reference

Class ilForumTabsGUI. More...

+ Collaboration diagram for ilForumTabsGUI:

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

Detailed Description

Class ilForumTabsGUI.

The whole forum implementation should be made more oo someday

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
Id:
class.ilForumTabsGUI.php 12808 2006-12-08 18:04:21Z akill

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

Member Function Documentation

ilForumTabsGUI::getTabs ( $tabs_gui)

adds tabs to tab gui object

Parameters
object$tabs_guiilTabsGUI object

Definition at line 81 of file class.ilForumTabsGUI.php.

References $_GET.

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 ( )

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

References $lng, and $tpl.

{
global $lng, $tpl, $tree,$ilTabs;
$this->lng =& $lng;
$this->tpl =& $tpl;
$this->tabs_gui =& $ilTabs;
}
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;
}

Field Documentation

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().


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