ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
class.ilObjClipboardTableGUI.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
5 include_once("./Services/Table/classes/class.ilTable2GUI.php");
6 
16 {
20  function __construct($a_parent_obj, $a_parent_cmd)
21  {
22  global $ilCtrl, $lng;
23 
24  parent::__construct($a_parent_obj, $a_parent_cmd);
25  $this->setTitle($lng->txt("clipboard"));
26 
27  $this->addColumn("", "", "1");
28  $this->addColumn($this->lng->txt("title"), "title");
29  $this->addColumn($this->lng->txt("action"));
30 
31  $this->setFormAction($ilCtrl->getFormAction($a_parent_obj));
32  $this->setRowTemplate("tpl.obj_cliboard_row.html", "Services/Object");
33  }
34 
38  protected function fillRow($a_set)
39  {
40  global $lng;
41 //var_dump($a_set);
42  $this->tpl->setVariable("ICON", ilUtil::img(ilObject::_getIcon($a_set["obj_id"], "tiny"),
43  $a_set["type_txt"]));
44  $this->tpl->setVariable("TITLE", $a_set["title"]);
45  $this->tpl->setVariable("CMD", $a_set["cmd"]);
46  }
47 
48 }
49 ?>