class ResultRow (View source)

A class representing a view result row.

Properties

EntityInterface $_entity

The entity for this result.

EntityInterface[] $_relationship_entities

An array of relationship entities.

int $index

An incremental number which represents the row in the entire result.

Methods

__construct(array $values = [])

Constructs a ResultRow object.

resetEntityData()

Resets the _entity and _relationship_entities properties.

Details

__construct(array $values = [])

Constructs a ResultRow object.

Parameters

array $values

(optional) An array of values to add as properties on the object.

resetEntityData()

Resets the _entity and _relationship_entities properties.