You are here

public function ExportDataInterface::normalize in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/ExportDataInterface.php \AKlump\LoftDataGrids\ExportDataInterface::normalize()

Normalize all rows so that they all contain the same number of columns, the column order will be taken from the order of the first column

Parameters

array|mixed $empty_value: If this is an array then you may provide default values by column key, as well as the special key `#default` which is the default value for any column whose key is not present in $empty_value. If this is not an array, then the value will be used for all empty values of all columns, rows, cells, etc.

Return value

$this

1 method overrides ExportDataInterface::normalize()
ExportData::normalize in vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/ExportData.php
Normalize all rows so that they all contain the same number of columns, the column order will be taken from the order of the first column

File

vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/ExportDataInterface.php, line 252

Class

ExportDataInterface
Interface ExportDataInterface

Namespace

AKlump\LoftDataGrids

Code

public function normalize($empty_value);