PaginatedRenderer

PaginatedRenderer implements RendererInterface

PaginatedRenderer

Methods

Inherited from SimpleRenderer
Inherited from BasicAttributesTrait

__construct

Creates a renderer that uses page info from the QueryCriteria to display a paginated data table.

PaginatedRenderer::__construct( \Gibbon\Domain\QueryCriteria $criteria, string $path )

Hooks into the DataTable functionality in core.js to load using AJAX.


renderTable

Render the table to HTML. TODO: replace with Twig.

PaginatedRenderer::renderTable( \Gibbon\Tables\DataTable $table, \Gibbon\Domain\DataSet $dataSet ): string

Return Value: string