Documentation

FrontEndSearch

Table of Contents

Methods

frontEndSearch()  : string|false
Process the results of a search.

Methods

frontEndSearch()

Process the results of a search.

public frontEndSearch(int $item_id, float $relevancy, array<string|int, mixed> $keywords) : string|false
Parameters
$item_id : int

The id of the record to output

$relevancy : float

The relevancy of the chosen item

$keywords : array<string|int, mixed>

The keywords that were used to conduct the search

Return values
string|false —

The result string or false if not found

On this page

Search results