Jump to content

get number of page


Matzn
 Share

Recommended Posts

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

 

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...