protected function flattenDataTableInto($dataTable, $newDataTable, $prefix = '', $logo = false) { foreach ($dataTable->getRows() as $rowId => $row) { $this->flattenRow($row, $rowId, $newDataTable, $prefix, $logo); } }