__construct()
__construct(\Clx\Xms\Api\Pages $pages)
Creates a new pages iterator for the given object.
Parameters
\Clx\Xms\Api\Pages | $pages | the pages to iterate over |
An iterator over a paged result.
The key is the page number and the value corresponds to the content of the pages.
__construct(\Clx\Xms\Api\Pages $pages)
Creates a new pages iterator for the given object.
\Clx\Xms\Api\Pages | $pages | the pages to iterate over |
current() : \Clx\Xms\Api\Page
Returns the current page.
the current page