PHP Class Ublaboo\DataGrid\Export\ExportCsv

Inheritance: extends Export
Show file Open project: ublaboo/datagrid

Protected Properties

Property Type Description
$delimiter string
$filtered boolean
$include_bom boolean
$is_ajax boolean
$name string
$output_encoding string

Public Methods

Method Description
__construct ( DataGrid $grid, string $text, string $csv_file_name, boolean $filtered, string | null $output_encoding = NULL, string | null $delimiter = NULL, boolean $include_bom = FALSE )
invoke ( array $data ) : void Call export callback

Method Details

__construct() public method

public __construct ( DataGrid $grid, string $text, string $csv_file_name, boolean $filtered, string | null $output_encoding = NULL, string | null $delimiter = NULL, boolean $include_bom = FALSE )
$grid Ublaboo\DataGrid\DataGrid
$text string
$csv_file_name string
$filtered boolean
$output_encoding string | null
$delimiter string | null
$include_bom boolean

invoke() public method

Call export callback
public invoke ( array $data ) : void
$data array
return void

Property Details

$delimiter protected property

protected string $delimiter
return string

$filtered protected property

protected bool $filtered
return boolean

$include_bom protected property

protected bool $include_bom
return boolean

$is_ajax protected property

protected bool $is_ajax
return boolean

$name protected property

protected string $name
return string

$output_encoding protected property

protected string $output_encoding
return string