Class DnsIterator
Class ResourceIterator is tasked with iterating over resource collections - many of which are paginated. Based on a base URL, the iterator will append elements based on further requests to the API. Each time this happens, query parameters (marker) are updated based on the current value.
- OpenCloud\Common\ArrayAccess implements ArrayAccess
- OpenCloud\Common\Collection\ArrayCollection implements Countable
- OpenCloud\Common\Collection\ResourceIterator implements Iterator
- OpenCloud\Common\Collection\PaginatedIterator implements Iterator
- OpenCloud\DNS\Collection\DnsIterator
Namespace: OpenCloud\DNS\Collection
Package: OpenCloud\Common\Collection
Since: 1.8.0
Located at OpenCloud/DNS/Collection/DnsIterator.php
Package: OpenCloud\Common\Collection
Since: 1.8.0
Located at OpenCloud/DNS/Collection/DnsIterator.php
public
|
#
updateMarkerToCurrent( )
Update the current marker based on the current element. The marker will be based on a particular property of this current element, so you must retrieve it first. |
protected
|
__construct(),
append(),
count(),
setElements(),
valueExists()
|
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset()
|
LIMIT,
MARKER
|
$currentMarker,
$defaults,
$nextUrl,
$required
|
$options,
$position,
$resourceParent
|
$elements
|