class FieldResultsModel (View source)

A wrapper class for all results for a given data field.

Properties

$context A presenation string of all joined matches with wrapping context.
$key The field name.
$matches An array with all found matches in the field value.

Methods

__construct(string $key, array $matches, string $context)

Initialize a new field results instance.

Details

__construct(string $key, array $matches, string $context)

Initialize a new field results instance.

Parameters

string $key
array $matches
string $context