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

The action used depends on which type of search is needed: location, content or contentInfo.
Datei anzeigen Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
__construct ( eZ\Publish\Core\QueryType\ContentViewQueryTypeMapper $contentViewQueryTypeMapper, eZ\Publish\API\Repository\SearchService $searchService )
contentInfoQueryAction ( ContentView $view ) : ContentView Runs a contentInfo search.
contentQueryAction ( ContentView $view ) : ContentView Runs a content search.
locationQueryAction ( ContentView $view ) : ContentView Runs a location search.

Private Methods

Method Description
runQuery ( ContentView $view, string $method ) Runs the Query defined in $view using $method on SearchService.

Method Details

__construct() public method

public __construct ( eZ\Publish\Core\QueryType\ContentViewQueryTypeMapper $contentViewQueryTypeMapper, eZ\Publish\API\Repository\SearchService $searchService )
$contentViewQueryTypeMapper eZ\Publish\Core\QueryType\ContentViewQueryTypeMapper
$searchService eZ\Publish\API\Repository\SearchService

contentInfoQueryAction() public method

Runs a contentInfo search.
public contentInfoQueryAction ( ContentView $view ) : ContentView
$view eZ\Publish\Core\MVC\Symfony\View\ContentView
return eZ\Publish\Core\MVC\Symfony\View\ContentView

contentQueryAction() public method

Runs a content search.
public contentQueryAction ( ContentView $view ) : ContentView
$view eZ\Publish\Core\MVC\Symfony\View\ContentView
return eZ\Publish\Core\MVC\Symfony\View\ContentView

locationQueryAction() public method

Runs a location search.
public locationQueryAction ( ContentView $view ) : ContentView
$view eZ\Publish\Core\MVC\Symfony\View\ContentView
return eZ\Publish\Core\MVC\Symfony\View\ContentView