includes/class/Response.class.php
Broker
- Package
- Broker
\Broker\Response
Package: Broker






Processing response
Properties
Methods


__construct(\Broker\unknown $response, \Broker\unknown $responseJoins, \Broker\unknown $configuration, \Broker\Cache $cache, \Broker\Collection $collection) : void
Constructor
Parameters
Name | Type | Description |
---|---|---|
$response | \Broker\unknown | |
$responseJoins | \Broker\unknown | |
$configuration | \Broker\unknown | |
$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, \Broker\unknown $documentsJoin) : array
Collect join documents values
Parameters
Returns
Name | Type | Description |
---|---|---|
$values | array | |
$documentsJoin | \Broker\unknown |
Type | Description |
---|---|
array |


collectJoinFacetFieldValues(array $values, \Broker\unknown $facetFieldJoin) : array
Collect join facet field values
Parameters
Returns
Name | Type | Description |
---|---|---|
$values | array | |
$facetFieldJoin | \Broker\unknown |
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 |