PHP Class Sulu\Bundle\SearchBundle\Controller\WebsiteSearchController

Inheritance: use trait Sulu\Component\Rest\RequestParametersTrait
Mostrar archivo Open project: sulu/sulu

Public Methods

Method Description
__construct ( Massive\Bundle\SearchBundle\Search\SearchManagerInterface $searchManager, Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface $requestAnalyzer, Sulu\Bundle\WebsiteBundle\Resolver\ParameterResolverInterface $parameterResolver, Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $engine )
queryAction ( Request $request ) : Response Returns the search results for the given query.

Private Methods

Method Description
escapeDoubleQuotes ( string $query ) : string Returns the string with escaped quotes.

Method Details

__construct() public method

public __construct ( Massive\Bundle\SearchBundle\Search\SearchManagerInterface $searchManager, Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface $requestAnalyzer, Sulu\Bundle\WebsiteBundle\Resolver\ParameterResolverInterface $parameterResolver, Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $engine )
$searchManager Massive\Bundle\SearchBundle\Search\SearchManagerInterface
$requestAnalyzer Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface
$parameterResolver Sulu\Bundle\WebsiteBundle\Resolver\ParameterResolverInterface
$engine Symfony\Bundle\FrameworkBundle\Templating\EngineInterface

queryAction() public method

Returns the search results for the given query.
public queryAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response