includes/class/Response.class.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Broker
Package
Broker  

\Broker\Response

Package: Broker
Processing response

Properties

>VPropertyprivate\Broker\Cache $cache = null
Cache
Default valuenullDetails
Type
\Broker\Cache
>VPropertyprivate\Broker\Collection $collection = null
Collection
Default valuenullDetails
Type
\Broker\Collection
>VPropertyprivateobject $configuration = null
Configuration
Default valuenullDetails
Type
object
>VPropertyprivateobject $response
Response
Details
Type
object
>VPropertyprivateobject $responseJoins
Response joins
Details
Type
object

Methods

methodpublic__construct(object $response, object $responseJoins, object $configuration, \Broker\Cache $cache, \Broker\Collection $collection) : void

Constructor

Parameters
NameTypeDescription
$responseobject
$responseJoinsobject
$configurationobject
$cache\Broker\Cache
$collection\Broker\Collection
methodprivatecollectDocumentsValues(array $documents, string $from) : array

Collect documents values

Parameters
NameTypeDescription
$documentsarray
$fromstring
Returns
TypeDescription
array
methodprivatecollectFacetFieldValues(array $list) : array

Collect facet field values

Parameters
NameTypeDescription
$listarray
Returns
TypeDescription
array
methodprivatecollectJoinDocumentsValues(array $values, object $documentsJoin) : array

Collect join documents values

Parameters
NameTypeDescription
$valuesarray
$documentsJoinobject
Returns
TypeDescription
array
methodprivatecollectJoinFacetFieldValues(array $values, object $facetFieldJoin) : array

Collect join facet field values

Parameters
NameTypeDescription
$valuesarray
$facetFieldJoinobject
Returns
TypeDescription
array
methodpubliccreateSolrStatus(string $id, string $description) : array
static

Create solr status

Parameters
NameTypeDescription
$idstring
$descriptionstring
Returns
TypeDescription
array
methodpublicprocess() : array

Process

Returns
TypeDescription
array
methodprivateprocessDocumentsJoins() : void

Process documents joins

methodprivateprocessFacetFieldJoins() : void

Process facet field joins

methodprivateupdateDocuments(array $documents, string $from, string $to, string $name, array $updates) : array

Update documents

Parameters
NameTypeDescription
$documentsarray
$fromstring
$tostring
$namestring
$updatesarray
Returns
TypeDescription
array
methodprivateupdateFacetFieldValues(array $list, string $to, array $updates) : array

Update facet field values

Parameters
NameTypeDescription
$listarray
$tostring
$updatesarray
Returns
TypeDescription
array
Documentation was generated by phpDocumentor 2.8.5.