DocumentsResults
extends Data
Table of Contents
Properties
-
$data
: mixed
-
$limit
: int
-
$offset
: int
-
$total
: int
Methods
-
__construct()
: mixed
-
count()
: int
-
getIterator()
: ArrayIterator
-
getLimit()
: int
-
getOffset()
: int
-
getResults()
: array<int, array<string|int, mixed>>
-
getTotal()
: int
-
offsetExists()
: bool
-
offsetGet()
: mixed
-
offsetSet()
: void
-
offsetUnset()
: void
-
toArray()
: array<string|int, mixed>
$data
protected
mixed
$data
= []
$limit
private
int
$limit
$offset
private
int
$offset
$total
private
int
$total
__construct()
public
__construct(array<string|int, mixed> $params) : mixed
Parameters
-
$params
: array<string|int, mixed>
-
count()
public
count() : int
getIterator()
public
getIterator() : ArrayIterator
Return values
ArrayIterator
getLimit()
public
getLimit() : int
getOffset()
public
getOffset() : int
getResults()
public
getResults() : array<int, array<string|int, mixed>>
Return values
array<int, array<string|int, mixed>>
getTotal()
public
getTotal() : int
offsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
-
$offset
: mixed
-
offsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
-
$offset
: mixed
-
offsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
-
$offset
: mixed
-
-
$value
: mixed
-
offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
-
$offset
: mixed
-
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>