4include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
 
   26                $this->ref_id = $a_ref_id;
 
   29                parent::__construct($a_parent_obj, $a_parent_cmd);
 
   31                $this->
addColumn($this->lng->txt(
"title"), 
"title");
 
   32                $this->
addColumn($this->lng->txt(
"book_is_used"));
 
   33                $this->
addColumn($this->lng->txt(
"actions"));
 
   36                $this->
setFormAction($ilCtrl->getFormAction($a_parent_obj, $a_parent_cmd));
 
   37                $this->
setRowTemplate(
"tpl.booking_schedule_row.html", 
"Modules/BookingManager");
 
   39                $this->
getItems($ilObjDataCache->lookupObjId($this->ref_id));
 
   49                include_once 
'Modules/BookingManager/classes/class.ilBookingSchedule.php';
 
   64            $this->tpl->setVariable(
"TXT_TITLE", $a_set[
"title"]);
 
   68                        $this->tpl->setVariable(
"TXT_IS_USED", 
$lng->txt(
"yes"));
 
   72                        $this->tpl->setVariable(
"TXT_IS_USED", 
$lng->txt(
"no"));
 
   75                $ilCtrl->setParameter($this->parent_obj, 
'schedule_id', $a_set[
'booking_schedule_id']);
 
   77                include_once(
"./Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php");
 
   79                $alist->setId($a_set[
'booking_schedule_id']);
 
   80                $alist->setListTitle(
$lng->txt(
"actions"));
 
   82                if ($ilAccess->checkAccess(
'write', 
'', $this->ref_id))
 
   84                        $alist->addItem(
$lng->txt(
'edit'), 
'edit', 
$ilCtrl->getLinkTarget($this->parent_obj, 
'edit')); 
 
   86                        if(!$a_set[
"is_used"])
 
   88                                $alist->addItem(
$lng->txt(
'delete'), 
'delete', 
$ilCtrl->getLinkTarget($this->parent_obj, 
'confirmDelete'));
 
   92                $this->tpl->setVariable(
"LAYER", $alist->getHTML());
 
An exception for terminatinating execution or to throw for unit testing.
User interface class for advanced drop-down selection lists.
static getList($a_pool_id)
Get list of booking objects for given pool.
List booking schedules (for booking pool)
getItems($a_pool_id)
Build summary item rows for given object and filter(s)
fillRow($a_set)
Fill table row.
__construct($a_parent_obj, $a_parent_cmd, $a_ref_id)
Constructor.
setEnableHeader($a_enableheader)
Set Enable Header.
addColumn($a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="", $a_tooltip_with_html=false)
Add a column to the header.
setData($a_data)
set table data @access public
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
setMaxCount($a_max_count)
set max.