class ReplaceResult extends Result

Properties

string $entity from Result
string $action from Result
int $version Api version from Result
array $deleted

Methods

array|null
first()

Return first result.

from Result
array|null
last()

Return last result.

from Result
array|null
itemAt(int $index)

No description

from Result
$this
indexBy(string $key)

Re-index the results array (which by default is non-associative)

from Result
int
count()

Returns the number of results

from Result
array
column($name)

Reduce each result to one field

from Result

Details

in Result at line 54
array|null first()

Return first result.

Return Value

array|null

in Result at line 65
array|null last()

Return last result.

Return Value

array|null

in Result at line 74
array|null itemAt(int $index)

Parameters

int $index

Return Value

array|null

in Result at line 91
$this indexBy(string $key)

Re-index the results array (which by default is non-associative)

Drops any item from the results that does not contain the specified key

Parameters

string $key

Return Value

$this

Exceptions

API_Exception

in Result at line 113
int count()

Returns the number of results

Return Value

int

in Result at line 127
array column($name)

Reduce each result to one field

Parameters

$name

Return Value

array