You are here

public function ExporterInterface::compile in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/ExporterInterface.php \AKlump\LoftDataGrids\ExporterInterface::compile()

Build the string content of $this->output and return $this for chaining.

Parameters

mixed $page_id: (Optional) Defaults to NULL. Set this to only compile a single page.

Return value

$this

3 calls to ExporterInterface::compile()
Exporter::export in vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/Exporter.php
Export data as a string
Exporter::formatColumn in vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/Exporter.php
Format a single column with format by string
Exporter::save in vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/Exporter.php
Stream as a file to the server with headers.
12 methods override ExporterInterface::compile()
ArrayExporter::compile in vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/ArrayExporter.php
Build the string content of $this->output and return $this for chaining.
CSVExporter::compile in vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/CSVExporter.php
Build the string content of $this->output and return $this for chaining.
DrupalTableExporter::compile in src/AKlump/LoftDataGrids/DrupalTableExporter.php
Build the string content of $this->output and return $this for chaining.
HtmlListExporter::compile in vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/HtmlListExporter.php
Build the string content of $this->output and return $this for chaining.
JSONExporter::compile in vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/JSONExporter.php
Build the string content of $this->output and return $this for chaining.

... See full list

File

vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/ExporterInterface.php, line 92

Class

ExporterInterface
Interface ExporterInterface

Namespace

AKlump\LoftDataGrids

Code

public function compile($page_id = null);