Property | Type | Description | |
---|---|---|---|
$service | eZ\Publish\API\Repository\SearchService | Aggregated service. | |
$signalDispatcher | SignalDispatcher. |
Method | Description | |
---|---|---|
__construct ( eZ\Publish\API\Repository\SearchService $service, |
Constructor. | |
findContent ( eZ\Publish\API\Repository\Values\Content\Query $query, array $languageFilter = [], boolean $filterOnUserPermissions = true ) : eZ\Publish\API\Repository\Values\Content\Search\SearchResult | Finds content objects for the given query. | |
findContentInfo ( eZ\Publish\API\Repository\Values\Content\Query $query, array $languageFilter = [], boolean $filterOnUserPermissions = true ) : eZ\Publish\API\Repository\Values\Content\Search\SearchResult | Finds contentInfo objects for the given query. | |
findLocations ( eZ\Publish\API\Repository\Values\Content\LocationQuery $query, array $languageFilter = [], boolean $filterOnUserPermissions = true ) : eZ\Publish\API\Repository\Values\Content\Search\SearchResult | Finds Locations for the given query. | |
findSingle ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $filter, array $languageFilter = [], boolean $filterOnUserPermissions = true ) : eZ\Publish\API\Repository\Values\Content\Content | Performs a query for a single content object. | |
suggest ( string $prefix, string[] $fieldPaths = [], integer $limit = 10, eZ\Publish\API\Repository\Values\Content\Query\Criterion $filter = null ) | Suggests a list of values for the given prefix. |
public __construct ( eZ\Publish\API\Repository\SearchService $service, |
||
$service | eZ\Publish\API\Repository\SearchService | |
$signalDispatcher |
public findContent ( eZ\Publish\API\Repository\Values\Content\Query $query, array $languageFilter = [], boolean $filterOnUserPermissions = true ) : eZ\Publish\API\Repository\Values\Content\Search\SearchResult | ||
$query | eZ\Publish\API\Repository\Values\Content\Query | |
$languageFilter | array | Configuration for specifying prioritized languages query will be performed on.
Currently supported: array("languages" => array( . |
$filterOnUserPermissions | boolean | if true only the objects which the user is allowed to read are returned. |
return | eZ\Publish\API\Repository\Values\Content\Search\SearchResult |
public findContentInfo ( eZ\Publish\API\Repository\Values\Content\Query $query, array $languageFilter = [], boolean $filterOnUserPermissions = true ) : eZ\Publish\API\Repository\Values\Content\Search\SearchResult | ||
$query | eZ\Publish\API\Repository\Values\Content\Query | |
$languageFilter | array | - a map of filters for the returned fields.
Currently supports: array("languages" => array(
useAlwaysAvailable defaults to true to avoid exceptions on missing translations. |
$filterOnUserPermissions | boolean | if true (default) only the objects which is the user allowed to read are returned. |
return | eZ\Publish\API\Repository\Values\Content\Search\SearchResult |
public findLocations ( eZ\Publish\API\Repository\Values\Content\LocationQuery $query, array $languageFilter = [], boolean $filterOnUserPermissions = true ) : eZ\Publish\API\Repository\Values\Content\Search\SearchResult | ||
$query | eZ\Publish\API\Repository\Values\Content\LocationQuery | |
$languageFilter | array | Configuration for specifying prioritized languages query will be performed on.
Currently supports: array("languages" => array(
useAlwaysAvailable defaults to true to avoid exceptions on missing translations |
$filterOnUserPermissions | boolean | if true only the objects which is the user allowed to read are returned. |
return | eZ\Publish\API\Repository\Values\Content\Search\SearchResult |
public findSingle ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $filter, array $languageFilter = [], boolean $filterOnUserPermissions = true ) : eZ\Publish\API\Repository\Values\Content\Content | ||
$filter | eZ\Publish\API\Repository\Values\Content\Query\Criterion | |
$languageFilter | array | Configuration for specifying prioritized languages query will be performed on.
Currently supported: array("languages" => array( . |
$filterOnUserPermissions | boolean | if true only the objects which is the user allowed to read are returned. |
return | eZ\Publish\API\Repository\Values\Content\Content |
protected SearchService,eZ\Publish\API\Repository $service | ||
return | eZ\Publish\API\Repository\SearchService |