ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilForumExportGUI Class Reference

Forum export to HTML and Print. More...

+ Collaboration diagram for ilForumExportGUI:

Public Member Functions

 __construct ()
 executeCommand ()

Data Fields

const MODE_EXPORT_WEB = 1
const MODE_EXPORT_CLIENT = 2

Protected Attributes

 $is_moderator = false
 $frm

Detailed Description

Forum export to HTML and Print.

Author
Wolfgang Merkens wmerk.nosp@m.ens@.nosp@m.datab.nosp@m.ay.d.nosp@m.e
Version
$Id$

Definition at line 17 of file class.ilForumExportGUI.php.

Constructor & Destructor Documentation

ilForumExportGUI::__construct ( )

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

References $_GET, $ilCtrl, and $lng.

{
global $lng, $ilCtrl, $ilAccess;
$forum = new ilObjForum((int)$_GET['ref_id']);
$this->frm = $forum->Forum;
$this->frm->setForumId($forum->getId());
$this->frm->setForumRefId($forum->getRefId());
$this->ctrl = $ilCtrl;
$lng->loadLanguageModule('forum');
$this->is_moderator = $ilAccess->checkAccess('moderate_frm', '', $_GET['ref_id']);
}

Member Function Documentation

ilForumExportGUI::executeCommand ( )

Definition at line 53 of file class.ilForumExportGUI.php.

References $cmd.

{
$next_class = $this->ctrl->getNextClass($this);
$cmd = $this->ctrl->getCmd();
switch($next_class)
{
default:
return $this->$cmd();
break;
}
}

Field Documentation

ilForumExportGUI::$frm
protected

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

ilForumExportGUI::$is_moderator = false
protected

Definition at line 25 of file class.ilForumExportGUI.php.

const ilForumExportGUI::MODE_EXPORT_CLIENT = 2

Definition at line 20 of file class.ilForumExportGUI.php.

const ilForumExportGUI::MODE_EXPORT_WEB = 1

Definition at line 19 of file class.ilForumExportGUI.php.


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