Methods

Constructor.

__construct(int $count) 

Parameters

$count

int

Total item count (Optional)

Returns the total number of rows in the array.

count() : int

Returns

int

Returns an array of items for a page.

getItems(int $offset, int $itemCountPerPage) : array

Parameters

$offset

int

Page offset

$itemCountPerPage

int

Number of items per page

Returns

array

 Properties

 

Item count

$count : int