You are here

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

Store the current page and pointer location for later resuming

Parameters

string $location_id A unique key or preset id to remember this location by.:

Return value

$this

Overrides ExportDataInterface::storeLocation

File

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

Class

ExportData

Namespace

AKlump\LoftDataGrids

Code

public function storeLocation($location_id) {
  $this->locations[$location_id] = array(
    'page' => (int) $this->current_page,
    'pointers' => $this->current_pointers,
  );
  return $this;
}