CodeExplorer calculateNumberOfColumns example
$cell )];
} elseif ('' !==
$cell) { $rows[] =
[$cell];
} } } } else { $rows =
array_merge($this->headers,
[$divider],
$this->rows
);
} $this->
calculateNumberOfColumns($rows);
$rowGroups =
$this->
buildTableRows($rows);
$this->
calculateColumnsWidth($rowGroups);
$isHeader = !
$horizontal;
$isFirstRow =
$horizontal;
$hasTitle =
(bool) $this->headerTitle;
foreach ($rowGroups as $rowGroup) { $isHeaderSeparatorRendered = false;
} elseif ('' !==
$cell) { $rows[] =
[$part];
} } } } } else { $rows =
array_merge($this->headers,
[$divider],
$this->rows
);
} $this->
calculateNumberOfColumns($rows);
$rowGroups =
$this->
buildTableRows($rows);
$this->
calculateColumnsWidth($rowGroups);
$isHeader = !
$horizontal;
$isFirstRow =
$horizontal;
$hasTitle =
(bool) $this->headerTitle;
foreach ($rowGroups as $rowGroup) { $isHeaderSeparatorRendered = false;