\UrbanAirship\Devices\DeviceListingDeviceList

Summary

Methods
Properties
Constants
__construct()
current()
next()
key()
valid()
rewind()
No public properties found
NEXT_PAGE_KEY
MEMBER_KEY
LIST_URL
No protected methods found
No protected properties found
N/A
loadNextPage()
$position
$page
N/A

Constants

NEXT_PAGE_KEY

NEXT_PAGE_KEY

MEMBER_KEY

MEMBER_KEY

LIST_URL

LIST_URL

Properties

$position

$position : integer

Type

integer — Position for Iterator interface

$page

$page : object

Type

object — Current page of multi page download

Methods

__construct()

__construct(  $airship,   $limit = null) 

Parameters

$airship
$limit

current()

current() : mixed

(PHP 5 &gt;= 5.0.0)<br/> Return the current element

Returns

mixed —

Can return any type.

next()

next() : void

(PHP 5 &gt;= 5.0.0)<br/> Move forward to next element

key()

key() : mixed

(PHP 5 &gt;= 5.0.0)<br/> Return the key of the current element

Returns

mixed —

scalar on success, or null on failure.

valid()

valid() : boolean

(PHP 5 &gt;= 5.0.0)<br/> Checks if current position is valid

Returns

boolean —

The return value will be casted to boolean and then evaluated. Returns true on success or false on failure.

rewind()

rewind() : void

(PHP 5 &gt;= 5.0.0)<br/> Rewind the Iterator to the first element

loadNextPage()

loadNextPage() : boolean

Takes the current page and retrieves the next page of results. Returns

Returns

boolean