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) : voidConstructor
Parameters
| Name | Type | Description |
|---|---|---|
| $response | object | |
| $responseJoins | object | |
| $configuration | object | |
| $cache | \Broker\Cache | |
| $collection | \Broker\Collection |

collectDocumentsValues(array $documents, string $from) : arrayCollect documents values
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $documents | array | |
| $from | string |
| Type | Description |
|---|---|
| array |

collectFacetFieldValues(array $list) : arrayCollect facet field values
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $list | array |
| Type | Description |
|---|---|
| array |

collectJoinDocumentsValues(array $values, object $documentsJoin) : arrayCollect join documents values
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $values | array | |
| $documentsJoin | object |
| Type | Description |
|---|---|
| array |

collectJoinFacetFieldValues(array $values, object $facetFieldJoin) : arrayCollect join facet field values
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $values | array | |
| $facetFieldJoin | object |
| Type | Description |
|---|---|
| array |

createSolrStatus(string $id, string $description) : arraystatic
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) : arrayUpdate documents
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $documents | array | |
| $from | string | |
| $to | string | |
| $name | string | |
| $updates | array |
| Type | Description |
|---|---|
| array |