count() <= 1 && $yAxisPaginator->count() <= 1) { return; // Display this pagination only if there are multiple pages } $fromTo = t('%s: %d to %d of %d (on the %s-axis)'); $xAxisPages = $xAxisPaginator->getPages('all'); $yAxisPages = $yAxisPaginator->getPages('all'); $totalYAxisPages = $yAxisPaginator->count(); $currentYAxisPage = $yAxisPaginator->getCurrentPageNumber(); $prevYAxisPage = $currentYAxisPage > 1 ? $currentYAxisPage - 1 : null; $nextYAxisPage = $currentYAxisPage < $totalYAxisPages ? $currentYAxisPage + 1 : null; $totalXAxisPages = $xAxisPaginator->count(); $currentXAxisPage = $xAxisPaginator->getCurrentPageNumber(); $prevXAxisPage = $currentXAxisPage > 1 ? $currentXAxisPage - 1 : null; $nextXAxisPage = $currentXAxisPage < $totalXAxisPages ? $currentXAxisPage + 1 : null; ?>
= $this->icon('up-open'); ?> = $this->icon('up-open'); ?> | ||
= $this->icon('left-open'); ?> = $this->icon('left-open'); ?> | = $this->icon('right-open'); ?> = $this->icon('right-open'); ?> | |
= $this->icon('down-open'); ?> = $this->icon('down-open'); ?> |