PHP Класс eZ\Publish\Core\MVC\Symfony\Controller\Content\QueryController

The action used depends on which type of search is needed: location, content or contentInfo.
Показать файл Открыть проект

Открытые методы

Метод Описание
__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.

Приватные методы

Метод Описание
runQuery ( ContentView $view, string $method ) Runs the Query defined in $view using $method on SearchService.

Описание методов

__construct() публичный Метод

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() публичный Метод

Runs a contentInfo search.
public contentInfoQueryAction ( ContentView $view ) : ContentView
$view eZ\Publish\Core\MVC\Symfony\View\ContentView
Результат eZ\Publish\Core\MVC\Symfony\View\ContentView

contentQueryAction() публичный Метод

Runs a content search.
public contentQueryAction ( ContentView $view ) : ContentView
$view eZ\Publish\Core\MVC\Symfony\View\ContentView
Результат eZ\Publish\Core\MVC\Symfony\View\ContentView

locationQueryAction() публичный Метод

Runs a location search.
public locationQueryAction ( ContentView $view ) : ContentView
$view eZ\Publish\Core\MVC\Symfony\View\ContentView
Результат eZ\Publish\Core\MVC\Symfony\View\ContentView