Grido@master
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Namespaces

  • Grido
    • Components
      • Actions
      • Columns
      • Filters
    • DataSources
    • PropertyAccessors
    • Translations

Classes

  • Component
  • Container
  • Export
  • Operation
  • Paginator

Class Export

Exporting data to CSV.

Nette\Application\UI\PresenterComponent
Extended by Grido\Components\Component
Extended by Grido\Components\Export implements Nette\Application\IResponse
Namespace: Grido\Components
Package: Grido\Components
Author: Petr Bugyík
Located at Components/Export.php

Methods summary

public
# __construct( Grido\Grid $grid, string $label = NULL )

Parameters

$grid
$label
protected string
# generateCsv( array $data, Nette\ComponentModel\RecursiveComponentIterator $columns )

Parameters

$data
$columns

Returns

string
public
# send( Nette\Http\IRequest $httpRequest, Nette\Http\IResponse $httpResponse )

Sends response to output.

Sends response to output.

Parameters

$httpRequest
$httpResponse

Methods inherited from Grido\Components\Component

addComponentToGrid(), getForm(), getGrid(), getPropertyAccessor(), translate()

Magic methods summary

Constants summary

string ID
# 'export'

Properties summary

Properties inherited from Grido\Components\Component

$form, $grid, $label, $propertyAccessor, $type

Magic properties inherited from Grido\Components\Component

$form, $grid, $label, $type

Grido@master API documentation generated by ApiGen