Documentation

ViewRow
in package

Object for accessing a row returned as a part of the results from a viery query.

Table of Contents

$id  : string|null
$key  : mixed
$value  : mixed
__construct()  : mixed
document()  : mixed
Returns the corresponding document for the row, if enabled
id()  : string|null
Returns the id of the row
key()  : mixed
Returns the key of the document
value()  : mixed
Returns the value of the row

Properties

Methods

__construct()

public __construct(array<string|int, mixed> $row) : mixed
Parameters
$row : array<string|int, mixed>
Return values
mixed

document()

Returns the corresponding document for the row, if enabled

public document() : mixed
Return values
mixed

id()

Returns the id of the row

public id() : string|null
Return values
string|null

key()

Returns the key of the document

public key() : mixed
Return values
mixed

value()

Returns the value of the row

public value() : mixed
Return values
mixed

        

Search results