RegisterHooks()
RegisterHooks(): array
Register system hooks
Register a set of handler functions to be called in certain positions.
Returns
array —A list of hooks to register
BuildEntry(\stdClass $doc,string $language,array|null $extra = null): \stdClass
Build entry Convert the search result to frontend object row
\stdClass | $doc | The search response |
string | $language | The request language |
array|null | $extra | Additional fields |
A result object