mirror of https://github.com/MISP/MISP
22 lines
483 B
PHP
22 lines
483 B
PHP
|
<?php
|
||
|
App::uses('PaginatorHelper', 'View/Helper');
|
||
|
|
||
|
class LightPaginatorHelper extends PaginatorHelper
|
||
|
{
|
||
|
public function numbers($options = array())
|
||
|
{
|
||
|
return '';
|
||
|
}
|
||
|
|
||
|
public function counter($options = array())
|
||
|
{
|
||
|
return '';
|
||
|
}
|
||
|
|
||
|
public function hasNext($model = null)
|
||
|
{
|
||
|
$model = $this->defaultModel();
|
||
|
return $this->request->params['paging'][$model]['current'] >= $this->request->params['paging'][$model]['limit'];
|
||
|
}
|
||
|
}
|