The following variables can be retrieved from '$this->viewVars'
for use in configuring this view:
- array '_header': (default null) A flat array of header column names
- array '_footer': (default null) A flat array of footer column names
- array '_extract': (default null) An array of Hash-compatible paths or
callable with matching 'sprintf'
$format as follows:
$_extract = [
[$path, $format],
[$path],
$path,
function () { ... } // Callable
];
If a string or unspecified, the format
default is '%s'.
- '_delimiter': (default ',') CSV Delimiter, defaults to comma
- '_enclosure': (default '"') CSV Enclosure for use with fputscsv()
- '_newline': (default '\n') CSV Newline replacement for use with fputscsv()
- '_eol': (default '\n') End-of-line character the csv
- '_bom': (default false) Adds BOM (byte order mark) header
- '_setSeparator: (default false) Adds sep=[_delimiter] in the first line