19 declare(strict_types=1);
37 $f = $DIC[
'ui.factory'];
38 $r = $DIC[
'ui.renderer'];
41 't1' =>
$f->table()->column()->email(
"mail")
44 $data_retrieval =
new class () implements
I\DataRetrieval {
45 protected array $records = [
46 [
't1' =>
'somebody@example.com'],
47 [
't1' =>
'somebody_else@example.com']
50 public function getRows(
51 I\DataRowBuilder $row_builder,
52 array $visible_column_ids,
56 ?array $additional_parameters
58 foreach ($this->records as $idx => $record) {
60 yield $row_builder->buildDataRow($row_id, $record);
64 public function getTotalRowCount(
66 ?array $additional_parameters
68 return count($this->records);
72 $table =
$f->table()->data($data_retrieval,
'eMail Columns', $columns)
73 ->withRequest($DIC->http()->request());
74 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.