37 private array $fieldAssemblers;
41 private array $visibleColumnIds;
48 $this->visibleColumnIds = $visibleColumnIds;
61 return $this->visibleColumnIds;
67 private function getAssemblers(): array
69 if (!isset($this->fieldAssemblers))
71 $this->fieldAssemblers = [];
75 $this->fieldAssemblers[] = $assembler;
79 return $this->fieldAssemblers;
85 private function getFilteredAssemblers(): array
89 foreach ($this->getAssemblers() as $fieldAssembler)
91 $assemblerColumnsIds = $fieldAssembler->getColumnIds();
94 if (!empty($columnsIds))
96 if (count($assemblerColumnsIds) !== count($columnsIds))
98 $result[] = $fieldAssembler->clone($columnsIds);
102 $result[] = $fieldAssembler;
119 foreach ($this->getFilteredAssemblers() as $fieldAssembler)
121 $rowsList = $fieldAssembler->prepareRows($rowsList);
__construct(array $visibleColumnIds)
prepareRows(array $rowsList)