code: public function getPaginationString()
      {
          $this->calculate();
  
          if ($this->getPerPage() == 0) {
              return '';
          }
  
          // Add pagination menu.
          $objPagination = new \Pagination($this->calculatedTotal, $this->getPerPage(), $this->getMaxPaginationLinks());
  
          return $objPagination->generate("\n  ");
      }
docs: Render the pagination string.
  
  @return string