workflow/engine/classes/entities/Entity_AppSolrQueue.php workflow/engine/classes/entities/Entity_Base.php workflow/engine/classes/entities/Entity_FacetGroup.php workflow/engine/classes/entities/Entity_FacetInterfaceRequest.php workflow/engine/classes/entities/Entity_FacetInterfaceResult.php workflow/engine/classes/entities/Entity_FacetItem.php workflow/engine/classes/entities/Entity_FacetRequest.php workflow/engine/classes/entities/Entity_FacetResult.php workflow/engine/classes/entities/Entity_SelectedFacetGroupItem.php workflow/engine/classes/entities/Entity_SolrQueryResult.php
37 lines
797 B
PHP
37 lines
797 B
PHP
<?php
|
|
|
|
class EntityFacetInterfaceResult extends EntityBase
|
|
{
|
|
// array of facetsgroups, array of Entity_SelectedFacetGroupItem, filter text
|
|
public $aFacetGroup = array();
|
|
public $aSelectedFacetGroupItem = array();
|
|
public $sFilterText = '';
|
|
|
|
private function __construct()
|
|
{
|
|
}
|
|
|
|
public static function createEmpty()
|
|
{
|
|
$obj = new EntityFacetInterfaceResult();
|
|
return $obj;
|
|
}
|
|
|
|
public static function createForRequest($data)
|
|
{
|
|
$obj = new EntityFacetInterfaceResult();
|
|
|
|
$obj->initializeObject($data);
|
|
|
|
$requiredFields = array(
|
|
"aFacetGroup",
|
|
"aSelectedFacetGroupItem",
|
|
"sFilterText"
|
|
);
|
|
|
|
$obj->validateRequiredFields($requiredFields);
|
|
|
|
return $obj;
|
|
}
|
|
}
|