3 declare(strict_types=1);
21 $f = $DIC[
'ui.factory'];
22 $r = $DIC[
'ui.renderer'];
25 't1' =>
$f->table()->column()->email(
"mail")
28 $data_retrieval =
new class () implements
I\DataRetrieval {
29 protected array $records = [
30 [
't1' =>
'somebody@example.com'],
31 [
't1' =>
'somebody_else@example.com']
34 public function getRows(
35 I\DataRowBuilder $row_builder,
36 array $visible_column_ids,
40 ?array $additional_parameters
42 foreach ($this->records as $idx => $record) {
44 yield $row_builder->buildDataRow($row_id, $record);
48 public function getTotalRowCount(
50 ?array $additional_parameters
52 return count($this->records);
56 $table =
$f->table()->data(
'eMail Columns', $columns, $data_retrieval)
57 ->withRequest($DIC->http()->request());
58 return $r->render($table);
Both the subject and the direction need to be specified when expressing an order. ...
base()
expected output: > ILIAS shows the rendered Component.
A simple class to express a naive range of whole positive numbers.