Refactoring
This commit is contained in:
parent
be4bcf3e9f
commit
14b06905d5
3 changed files with 14 additions and 8 deletions
6
base.php
6
base.php
|
@ -242,6 +242,12 @@ class Page
|
|||
$this->entryArray = array_merge ($this->entryArray, Book::getCount());
|
||||
}
|
||||
|
||||
public function isPaginated ()
|
||||
{
|
||||
global $config;
|
||||
return ($config['cops_max_item_per_page'] != -1 && $this->totalNumber != -1);
|
||||
}
|
||||
|
||||
public function getNextLink ()
|
||||
{
|
||||
global $config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue