Refactoring

This commit is contained in:
Sébastien Lucas 2012-09-21 14:19:11 +02:00
parent be4bcf3e9f
commit 14b06905d5
3 changed files with 14 additions and 8 deletions

View file

@ -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;