Search
extends Search
in package
Helper class for displaying search-related HTML chunks.
Tags
Table of Contents
- renderSpellingSuggestions() : string
- Support function to display spelling suggestions.
- getContainerClass() : string
- Get the CSS classes for the container holding the suggestions.
- renderExpandLink() : string
- Render an expand link.
Methods
renderSpellingSuggestions()
Support function to display spelling suggestions.
public
renderSpellingSuggestions(string $msg, Results $results, PhpRenderer $view) : string
Parameters
- $msg : string
-
HTML to display at the top of the spelling section.
- $results : Results
-
Results object
- $view : PhpRenderer
-
View renderer object
Return values
string —getContainerClass()
Get the CSS classes for the container holding the suggestions.
protected
abstract getContainerClass() : string
Return values
string —renderExpandLink()
Render an expand link.
protected
abstract renderExpandLink(string $url, PhpRenderer $view) : string
Parameters
- $url : string
-
Link href
- $view : PhpRenderer
-
View renderer object