Method | Description | |
---|---|---|
getData ( ) : array | ||
getExtension ( ) : string | ||
getFileName ( ) : string | Returns name of exported file. | |
getIgnoredColumns ( ) : string[] | ||
getOnFileCreate ( ) : mixed | ||
getOnSheetCreate ( ) : callable | ||
getRowsLimit ( ) : integer | ||
getSheetName ( ) : string | ||
initialize ( Nayjest\Grids\Grid $grid ) : null | void | ||
isHiddenColumnsExported ( ) : boolean | ||
setExtension ( string $name ) | ||
setFileName ( string $name ) | Sets name of exported file. | |
setHiddenColumnsExported ( boolean $isHiddenColumnsExported ) | ||
setIgnoredColumns ( array $ignoredColumns ) | ||
setOnFileCreate ( callable $onFileCreate ) | ||
setOnSheetCreate ( callable $onSheetCreate ) | ||
setRowsLimit ( integer $limit ) | ||
setSheetName ( string $name ) |
Method | Description | |
---|---|---|
escapeString ( $str ) | ||
getHeaderRow ( ) | ||
isColumnExported ( Nayjest\Grids\FieldConfig $column ) : boolean | ||
renderExcel ( ) | ||
resetPagination ( Nayjest\Grids\DataProvider $provider ) |
public getFileName ( ) : string | ||
return | string |
public initialize ( Nayjest\Grids\Grid $grid ) : null | void | ||
$grid | Nayjest\Grids\Grid | |
return | null | void |
protected isColumnExported ( Nayjest\Grids\FieldConfig $column ) : boolean | ||
$column | Nayjest\Grids\FieldConfig | |
return | boolean |
protected resetPagination ( Nayjest\Grids\DataProvider $provider ) | ||
$provider | Nayjest\Grids\DataProvider |
public setFileName ( string $name ) | ||
$name | string |
public setHiddenColumnsExported ( boolean $isHiddenColumnsExported ) | ||
$isHiddenColumnsExported | boolean |
public setIgnoredColumns ( array $ignoredColumns ) | ||
$ignoredColumns | array |
public setOnFileCreate ( callable $onFileCreate ) | ||
$onFileCreate | callable |
public setOnSheetCreate ( callable $onSheetCreate ) | ||
$onSheetCreate | callable |