Collection
Class Collection.
Contents
Description #
Source #
Methods #
- all
- autoPagingIterator
- baseUrl
- count
- create
- emptyCollection — Returns an empty collection. This is returned from {@see nextPage()} when we know that there isn't a next page in order to replicate the behavior of the API when it attempts to return a page beyond the last.
- extractPathAndUpdateParams
- first — Gets the first item from the current page. Returns `null` if the current page is empty.
- getFilters — Returns the filters.
- getIterator
- getReverseIterator
- isEmpty — Returns true if the page object contains no element.
- last — Gets the last item from the current page. Returns `null` if the current page is empty.
- nextPage — Fetches the next page in the resource list (if there is one).
- offsetGet
- previousPage — Fetches the previous page in the resource list (if there is one).
- retrieve
- setFilters — Sets the filters, removing paging options.