ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
class.iliLinkConfirmationTableGUI.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4include_once 'Services/Table/classes/class.ilTable2GUI.php';
5
14{
15 public function __construct($a_parent_obj, $a_data, $a_cmd, $a_default_form_action)
16 {
17 global $ilCtrl, $lng, $ilAccess, $lng;
18
19 parent::__construct($a_parent_obj, $a_cmd);
20
21 $this->setData($a_data);
22
23 $this->addColumn($lng->txt('type'), 'type', '1%');
24 $this->addColumn($lng->txt('title'), 'title', '33%');
25 $this->addColumn($lng->txt('description'), 'description', '33%');
26 $this->addColumn($lng->txt('last_change'), 'last_change', '33%');
27
28 $this->enable('sort');
29 $this->enable('header');
30 $this->setLimit(32000);
31 $this->setPrefix('confirmation');
32 $this->setFormName('confirmation');
33
34 $this->setFormAction($ilCtrl->getFormAction($a_parent_obj, $a_default_form_action));
35
36 $this->setRowTemplate('tpl.icrs_confirmation_row.html', 'Modules/ILinc');
37 }
38}
39?>
Class ilTable2GUI.
addColumn($a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="")
Add a column to the header.
setPrefix($a_prefix)
set prefix for sort and offset fields (if you have two or more tables on a page that you want to sort...
setData($a_data)
set table data @access public
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setFormName($a_formname)
Set Form name.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
setLimit($a_limit=0, $a_default_limit=0)
set max.
enable($a_module_name)
enables particular modules of table
__construct($a_parent_obj, $a_data, $a_cmd, $a_default_form_action)
global $ilCtrl
Definition: ilias.php:18
global $lng
Definition: privfeed.php:40