19declare(strict_types=1);
31 public const string ID =
'bkbwos';
35 array $visible_column_ids,
38 mixed $additional_viewcontrol_data,
40 mixed $additional_parameters
49 (
string) $record[
'booking_reservation_id'],
51 'title' => (
string) $record[
'title'],
53 ? $this->lng->txt(
'book_reservation_status_5')
55 'user' => $this->getUserComponent(
$user_id)
66 'title' => $this->column_factory->text($this->
lng->txt(
'title')),
67 'status' => $this->column_factory->text($this->
lng->txt(
'status')),
68 'user' => $this->column_factory->link($this->
lng->txt(
'user')),
74 $txt_user = $this->
lng->txt(
'user');
76 $this->
access->canManageAllReservations($this->booking_pool->getRefId())
77 || $this->access->canReadPublicLog($this->booking_pool->getRefId())
79 $user_input = $this->input_factory->select($txt_user, $this->getUsers());
81 $user_input = $this->input_factory
82 ->select($txt_user, $this->getUsers($this->
user->getId()))
83 ->withValue($this->
user->getId())
88 'object' => $this->input_factory->select(
89 $this->
lng->txt(
'object'),
90 array_column($this->booking_items,
'title',
'booking_object_id')
92 'object_title_or_description' => $this->input_factory->text($this->
lng->txt(
'book_object_title_or_description')),
93 'status' => $this->input_factory->select($this->
lng->txt(
'status'), $this->getStatuses()),
loadRecords(mixed $filter_data)
sortRecords(Order $order, array $records)
limitRecords(Range $range, array $records)
getRows(DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters)
This is called by the table to retrieve rows; map data-records to rows using the $row_builder e....
Both the subject and the direction need to be specified when expressing an order.
A simple class to express a naive range of whole positive numbers.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
const int STATUS_CANCELLED
buildDataRow(string $id, array $record)