public function Exporter::export in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/Exporter.php \AKlump\LoftDataGrids\Exporter::export()
Export data as a string
Parameters
mixed $page_id: (Optional) Defaults to NULL. Set this to export a single page.
Return value
string
Overrides ExporterInterface::export
1 method overrides Exporter::export()
- XLSXExporter::export in vendor/
aklump/ loft_data_grids/ src/ AKlump/ LoftDataGrids/ XLSXExporter.php - Returns the PHPExcel object
File
- vendor/
aklump/ loft_data_grids/ src/ AKlump/ LoftDataGrids/ Exporter.php, line 176
Class
- Exporter
- Class Exporter
Namespace
AKlump\LoftDataGridsCode
public function export($page_id = null) {
$this
->compile($page_id);
return $this->output;
}