You are here

public function ExportData::next in Loft Data Grids 7.2

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

Returns the record index and advances the record pointer

Return value

int The index of the record that was just closed

Overrides ExportDataInterface::next

2 calls to ExportData::next()
ScheduleData::addStatsPage in vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/ScheduleData.php
ScheduleData::addTodoItem in vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/ScheduleData.php

File

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

Class

ExportData

Namespace

AKlump\LoftDataGrids

Code

public function next() {
  $return = $this
    ->getPointer();
  $this->current_pointers[$this->current_page] = $return + 1;
  return $return;
}