You are here

public function ExportData::getRows in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/ExportData.php \AKlump\LoftDataGrids\ExportData::getRows()

Returns all rows of the current page keyed by pointer.

Note this is functionally the same as self::getPage($current_page), however, it doesn't require knowning the page id and it is more intuitively named.

Return value

array

Overrides ExportDataInterface::getRows

File

vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/ExportData.php, line 259

Class

ExportData

Namespace

AKlump\LoftDataGrids

Code

public function getRows() {
  return $this
    ->getPage($this
    ->getCurrentPageId());
}