You are here

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

Returns the row count of the current page.

Return value

int

Overrides ExportDataInterface::getCount

File

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

Class

ExportData

Namespace

AKlump\LoftDataGrids

Code

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