Example #1
0
 function currentPageNumber()
 {
     if ($this->currentPage != $this->pageCount) {
         return parent::currentPageNumber();
     } else {
         return '';
     }
 }
Example #2
0
 function currentPageNumber()
 {
     if (!isset($this->approxPageCount)) {
         return '';
     }
     $this->pageCount = '~' . $this->approxPageCount;
     $buf = parent::currentPageNumber();
     unset($this->pageCount);
     return $buf;
 }