Class

eZ\Publish\Core\MVC\Symfony\Controller\Content\QueryController

class QueryController

A content view controller that runs queries based on the matched view configuration.

The action used depends on which type of search is needed: location, content or contentInfo.

Methods

__construct(ContentViewQueryTypeMapper $contentViewQueryTypeMapper, SearchService $searchService)

ContentView contentQueryAction(ContentView $view)

Runs a content search.

ContentView locationQueryAction(ContentView $view)

Runs a location search.

ContentView contentInfoQueryAction(ContentView $view)

Runs a contentInfo search.

Details

at line 24
public __construct(ContentViewQueryTypeMapper $contentViewQueryTypeMapper, SearchService $searchService)

Parameters

ContentViewQueryTypeMapper $contentViewQueryTypeMapper
SearchService $searchService

at line 38
public ContentView contentQueryAction(ContentView $view)

Runs a content search.

Parameters

ContentView $view

Return Value

ContentView

at line 51
public ContentView locationQueryAction(ContentView $view)

Runs a location search.

Parameters

ContentView $view

Return Value

ContentView

at line 64
public ContentView contentInfoQueryAction(ContentView $view)

Runs a contentInfo search.

Parameters

ContentView $view

Return Value

ContentView