Public Member Functions | Protected Member Functions

ilSCORM2004TrackingTableGUI Class Reference
[Services/News]

TableGUI class for table NewsForContext. More...

Inheritance diagram for ilSCORM2004TrackingTableGUI:
Collaboration diagram for ilSCORM2004TrackingTableGUI:

Public Member Functions

 ilSCORM2004TrackingTableGUI ($a_parent_obj, $a_parent_cmd="")

Protected Member Functions

 fillRow ($a_set)
 Standard Version of Fill Row.

Detailed Description

TableGUI class for table NewsForContext.

Author:
Alex Killing <alex.killing@gmx.de>
Version:
$Id$

Definition at line 34 of file class.ilSCORM2004TrackingTableGUI.php.


Member Function Documentation

ilSCORM2004TrackingTableGUI::fillRow ( a_set  )  [protected]

Standard Version of Fill Row.

Most likely to be overwritten by derived class.

Reimplemented from ilTable2GUI.

Definition at line 57 of file class.ilSCORM2004TrackingTableGUI.php.

References $ilCtrl, and $lng.

        {
                global $lng, $ilCtrl, $ilAccess;
                
                $this->tpl->setVariable("USER_NAME", $a_set["user_full_name"]);
                $this->tpl->setVariable("USER_ID", $a_set["user_id"]);
        }

ilSCORM2004TrackingTableGUI::ilSCORM2004TrackingTableGUI ( a_parent_obj,
a_parent_cmd = "" 
)

Definition at line 37 of file class.ilSCORM2004TrackingTableGUI.php.

References $ilCtrl, $lng, ilTable2GUI::__construct(), ilTable2GUI::addColumn(), ilTable2GUI::addMultiCommand(), ilTable2GUI::setDefaultOrderField(), ilTable2GUI::setFormAction(), ilTable2GUI::setRowTemplate(), and ilTable2GUI::setSelectAllCheckbox().

        {
                global $ilCtrl, $lng;
                
                parent::__construct($a_parent_obj, $a_parent_cmd);
                
                $this->addColumn("", "f", "1");
                $this->addColumn($lng->txt("user"), "user_full_name", "100%");
                $this->setFormAction($ilCtrl->getFormAction($a_parent_obj));
                $this->setRowTemplate("tpl.table_scorm_2004_tracking_row.html",
                        "Modules/Scorm2004");
                $this->setDefaultOrderField("user_full_name");
                $this->addMultiCommand("deleteTrackingData", $lng->txt("cont_delete_track_data"));
                $this->setSelectAllCheckbox("id");
        }

Here is the call graph for this function:


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