Welcome Guest, Not a member yet? Register   Sign In
How to use the pagination with view parser?
#1

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
Code:
$data = [
    'rows' => $this->model->paginate(2),
    'pager' => $this->model->pager
];
grettings!
Reply


Messages In This Thread
How to use the pagination with view parser? - by luispastendev - 10-28-2019, 10:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB