ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
class.ilShopTableGUI.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 require_once 'Services/Table/classes/class.ilTable2GUI.php';
5 
17 {
24  public function __construct($a_parent_obj, $a_parent_cmd = "")
25  {
26 
27  global $lng,$ilCtrl;
28 
29  $this->lng = $lng;
30  $this->ctrl = $ilCtrl;
31 
32  parent::__construct($a_parent_obj, $a_parent_cmd);
33 
34 
35  $this->setFormAction($this->ctrl->getFormAction($a_parent_obj));
36  }
37 
45  public function fillRow($a_set)
46  {
47  foreach ($a_set as $key => $value)
48  {
49  $this->tpl->setVariable("VAL_".strtoupper($key), $value);
50  }
51  }
52 }
53 ?>