19 declare(strict_types=1);
32 protected I\DataRetrieval
$data;
35 protected I\RecordToEntity $entity_mapping
53 ?array $additional_parameters =
null 55 $mapping =
new class ($this->entity_mapping, $ui_factory) implements
I\Mapping {
57 protected I\RecordToEntity $mapper,
62 public function map(mixed $record): IEntity\Entity
64 return $this->mapper->map($this->ui_factory, $record);
68 $additional_parameters =
null;
69 return $this->data->getEntities($mapping,
$range, $additional_parameters);
Interface Observer Contains several chained tasks and infos about them.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getEntities(\ILIAS\UI\Factory $ui_factory, ?Range $range=null, ?array $additional_parameters=null)
__construct(protected I\RecordToEntity $entity_mapping)
A simple class to express a naive range of whole positive numbers.
withData(I\DataRetrieval $data)