ExportCsvComponent
in package
Table of Contents
Properties
- $break : mixed
- $charset : mixed
- $delimiter : mixed
- $extension : mixed
- $filename : mixed
- $headerOnly : mixed
- $col_defs : mixed
- $cols : mixed
- $csv : mixed
- $data : mixed
- $rows : mixed
Methods
- __construct() : mixed
- build() : mixed
- download() : mixed
- export() : mixed
- getDelimiter() : mixed
- Get the value of delimiter
- getExtension() : mixed
- Get the value of extension
- getFilename() : mixed
- Get the value of filename
- getHeaderOnly() : mixed
- Get the value of headerOnly
- setDelimiter() : self
- Set the value of delimiter
- setExtension() : self
- Set the value of extension
- setFilename() : self
- Set the value of filename
- setHeaderOnly() : self
- Set the value of headerOnly
Properties
$break
public
mixed
$break
= "\n"
$charset
public
mixed
$charset
= CHARSET
$delimiter
public
mixed
$delimiter
= ','
$extension
public
mixed
$extension
= "csv"
$filename
public
mixed
$filename
$headerOnly
public
mixed
$headerOnly
= false
$col_defs
private
mixed
$col_defs
$cols
private
mixed
$cols
$csv
private
mixed
$csv
$data
private
mixed
$data
$rows
private
mixed
$rows
= []
Methods
__construct()
public
__construct(array<string|int, mixed> $multi_array[, array<string|int, mixed> $col_defs = null ]) : mixed
Parameters
- $multi_array : array<string|int, mixed>
- $col_defs : array<string|int, mixed> = null
build()
public
build() : mixed
download()
public
download() : mixed
export()
public
export() : mixed
getDelimiter()
Get the value of delimiter
public
getDelimiter() : mixed
getExtension()
Get the value of extension
public
getExtension() : mixed
getFilename()
Get the value of filename
public
getFilename() : mixed
getHeaderOnly()
Get the value of headerOnly
public
getHeaderOnly() : mixed
setDelimiter()
Set the value of delimiter
public
setDelimiter(mixed $delimiter) : self
Parameters
- $delimiter : mixed
Return values
selfsetExtension()
Set the value of extension
public
setExtension(mixed $extension) : self
Parameters
- $extension : mixed
Return values
selfsetFilename()
Set the value of filename
public
setFilename(mixed $filename) : self
Parameters
- $filename : mixed
Return values
selfsetHeaderOnly()
Set the value of headerOnly
public
setHeaderOnly(mixed $headerOnly) : self
Parameters
- $headerOnly : mixed