10-28-2019, 10:48 AM
Hello there!
I am building a view with pagination with view parser, the problem is how I spend the value of pager to build my links? since it is an object and in view parser it is not possible to use them
grettings!
I am building a view with pagination with view parser, the problem is how I spend the value of pager to build my links? since it is an object and in view parser it is not possible to use them
Code:
$data = [
'rows' => $this->model->paginate(2),
'pager' => $this->model->pager
];