includes/class/Response.class.php
Broker
- Package
- Broker
\Broker\Response
Package: Broker
Processing response
Properties
Methods
__construct(object $response, object $responseJoins, object $configuration, \Broker\Cache $cache, \Broker\Collection $collection) : void
Constructor
Parameters
Name | Type | Description |
---|---|---|
$response | object | |
$responseJoins | object | |
$configuration | object | |
$cache | \Broker\Cache | |
$collection | \Broker\Collection |
collectDocumentsValues(array $documents, string $from) : array
Collect documents values
Parameters
Returns
Name | Type | Description |
---|---|---|
$documents | array | |
$from | string |
Type | Description |
---|---|
array |
collectFacetFieldValues(array $list) : array
Collect facet field values
Parameters
Returns
Name | Type | Description |
---|---|---|
$list | array |
Type | Description |
---|---|
array |
collectJoinDocumentsValues(array $values, object $documentsJoin) : array
Collect join documents values
Parameters
Returns
Name | Type | Description |
---|---|---|
$values | array | |
$documentsJoin | object |
Type | Description |
---|---|
array |
collectJoinFacetFieldValues(array $values, object $facetFieldJoin) : array
Collect join facet field values
Parameters
Returns
Name | Type | Description |
---|---|---|
$values | array | |
$facetFieldJoin | object |
Type | Description |
---|---|
array |
createSolrStatus(string $id, string $description) : array
static
Create solr status
Parameters
Returns
Name | Type | Description |
---|---|---|
$id | string | |
$description | string |
Type | Description |
---|---|
array |
updateDocuments(array $documents, string $from, string $to, string $name, array $updates) : array
Update documents
Parameters
Returns
Name | Type | Description |
---|---|---|
$documents | array | |
$from | string | |
$to | string | |
$name | string | |
$updates | array |
Type | Description |
---|---|
array |