CodeExplorer MediaListFacetResult example
\
in_array($option->
getId(),
$actives),
$option->
getMedia(),
$option->
getAttributes() );
$isActive =
$isActive ||
$listItem->
isActive();
$useMedia =
$useMedia ||
$listItem->
getMedia() !== null;
$items[] =
$listItem;
} if ($useMedia) { $results[] =
new MediaListFacetResult( 'property',
$isActive,
$group->
getName(),
$items,
$fieldName,
$group->
getAttributes() );
} else { $results[] =
new ValueListFacetResult( 'property',
$isActive,