Matzn Posted September 30, 2021 Share Posted September 30, 2021 Hi all, how i can get total, start, limit etc from page object? $res = $pages->find("template=basic, limit=20"); Result from page 2: ProcessWire\PageArray Object ( [count] => 20 [total] => 95 [start] => 20 [limit] => 20 [pager] => 21 bis 40 von 95 [items] => Array ( [Page:0] => Array ( [id] => 17212 1 Link to comment Share on other sites More sharing options...
Matzn Posted September 30, 2021 Author Share Posted September 30, 2021 Ok, is no magic. $res->getStart(); etc. PaginatedArray class - ProcessWire API 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now