You are here

public function ViewsPdfBase::resetRowPageNumber in Views PDF 8

This method resets the page number. This is useful if you want to start the numbering by zero.

File

src/ViewsPdfBase.php, line 916
Contains \Drupal\views_pdf\ViewsPdfTemplate.

Class

ViewsPdfBase
The main class to generate the PDF.

Namespace

Drupal\views_pdf

Code

public function resetRowPageNumber() {
  $this->rowContentPageNumber = 0;
}