You are here

public function QueueInterface::selectPageMax in Purge 8.3

Retrieve the highest page number containing data in the queue.

This method relies on ::selectPageLimit() for finding out how many items are shown on a single page. The resulting division is rounded up so that the last page will usually have less items then the limit.

Return value

int The highest page number number with data on it.

See also

\Drupal\purge\Plugin\Purge\Queue\QueueInterface::selectPageLimit

File

src/Plugin/Purge/Queue/QueueInterface.php, line 130

Class

QueueInterface
Describes a ReliableQueueInterface compliant queue that can hold queue items.

Namespace

Drupal\purge\Plugin\Purge\Queue

Code

public function selectPageMax();