You are here

public function ExportData::getPointer 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::getPointer()

Return the current record pointer for the current page

Overrides ExportDataInterface::getPointer

2 calls to ExportData::getPointer()
ExportData::getCurrent in vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/ExportData.php
Return the current record or data by key
ExportData::next in vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/ExportData.php
Returns the record index and advances the record pointer

File

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

Class

ExportData

Namespace

AKlump\LoftDataGrids

Code

public function getPointer() {
  if (!isset($this->current_pointers[$this->current_page])) {
    $this->current_pointers[$this->current_page] = 0;
  }
  return $this->current_pointers[$this->current_page];
}