Documentation

SearchEventListener
in package
implements EventListenerInterface

Table of Contents

Interfaces

EventListenerInterface

Methods

getEventHandlers()  : array<string|int, mixed>
returns an array of callbacks as <event name> => <callable>
getSearchResult()  : array<string|int, mixed>
gets search results based on query
RegisterGraphQLQueryFields()  : mixed

Methods

getEventHandlers()

returns an array of callbacks as <event name> => <callable>

public getEventHandlers() : array<string|int, mixed>
Return values
array<string|int, mixed>

getSearchResult()

gets search results based on query

public static getSearchResult([string|null $search_query = null ][, string|null $locale = null ][, int $page = 0 ]) : array<string|int, mixed>
Parameters
$search_query : string|null = null
$locale : string|null = null
$page : int = 0
Tags
throws
BasicException
throws
DependencyException
throws
NotFoundException
Return values
array<string|int, mixed>

RegisterGraphQLQueryFields()

public RegisterGraphQLQueryFields(Event $e) : mixed
Parameters
$e : Event

        
On this page

Search results