• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.