19declare(strict_types=1);
42 protected readonly HTTPServices
$http,
51 self::TABLE_COL_TITLE => $this->
ui->factory()->table()->column()->link(
52 $this->
lng->txt(self::LNG_TABLE_COL_TITLE)
54 self::TABLE_COL_SUGGESTION => $this->
ui->factory()->table()->column()->timeSpan(
55 $this->
lng->txt(self::LNG_TABLE_COL_SUGGESTION),
56 $this->data_retrieval->getDateFormat()
58 self::TABLE_COL_TIMINGS_PLANNED => $this->
ui->factory()->table()->column()->timeSpan(
59 $this->
lng->txt(self::LNG_TABLE_COL_TIMINGS_PLANNED),
60 $this->data_retrieval->getDateFormat()
67 return $this->
lng->txt(self::LNG_TABLE_TITLE) .
': ' . $this->data_retrieval->getUsername();
72 if (isset($this->table)) {
75 $this->table = $this->
ui->factory()->table()->data(
76 $this->data_retrieval,
80 ->withId(self::TABLE_ID)
81 ->withRequest($this->
http->request());
87 return $this->
ui->renderer()->render([$this->table]);
const string LNG_TABLE_COL_TIMINGS_PLANNED
const string LNG_TABLE_COL_TITLE
__construct(protected readonly UIServices $ui, protected readonly HTTPServices $http, protected readonly DataRetrievalInterface $data_retrieval, protected readonly ilLanguage $lng,)
const string LNG_TABLE_COL_SUGGESTION
const string LNG_TABLE_TITLE
Provides fluid interface to RBAC services.
This describes a Data Table.
readonly HttpService $http
static http()
Fetches the global http state from ILIAS.