PHP Class Nayjest\Grids\Components\CsvExport

Author: : Vitaliy Ofat ([email protected])
Inheritance: extends Nayjest\Grids\Components\Base\RenderableComponent
Afficher le fichier Open project: nayjest/grids

Protected Properties

Свойство Type Description
$fileName string
$name
$output string
$render_section
$rows_limit
$template

Méthodes publiques

Méthode Description
getFileName ( ) : string
getRowsLimit ( ) : integer
initialize ( Nayjest\Grids\Grid $grid ) : null | void
setFileName ( string $name )
setRowsLimit ( integer $limit )

Méthodes protégées

Méthode Description
escapeString ( string $str ) : string
renderCsv ( )
renderHeader ( resource $file )
resetPagination ( Nayjest\Grids\DataProvider $provider )
setCsvHeaders ( Illuminate\Http\Response $response )

Method Details

escapeString() protected méthode

protected escapeString ( string $str ) : string
$str string
Résultat string

getFileName() public méthode

public getFileName ( ) : string
Résultat string

getRowsLimit() public méthode

public getRowsLimit ( ) : integer
Résultat integer

initialize() public méthode

public initialize ( Nayjest\Grids\Grid $grid ) : null | void
$grid Nayjest\Grids\Grid
Résultat null | void

renderCsv() protected méthode

protected renderCsv ( )

renderHeader() protected méthode

protected renderHeader ( resource $file )
$file resource

resetPagination() protected méthode

protected resetPagination ( Nayjest\Grids\DataProvider $provider )
$provider Nayjest\Grids\DataProvider

setCsvHeaders() protected méthode

protected setCsvHeaders ( Illuminate\Http\Response $response )
$response Illuminate\Http\Response

setFileName() public méthode

public setFileName ( string $name )
$name string

setRowsLimit() public méthode

public setRowsLimit ( integer $limit )
$limit integer

Property Details

$fileName protected_oe property

protected string $fileName
Résultat string

$name protected_oe property

protected $name

$output protected_oe property

protected string $output
Résultat string

$render_section protected_oe property

protected $render_section

$rows_limit protected_oe property

protected $rows_limit

$template protected_oe property

protected $template