VuFind API Documentation

AbstractSearch extends AbstractHelper
in package

Helper class for displaying search-related HTML chunks.

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Wiki

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

Render an expand link.

protected abstract renderExpandLink(string $url, PhpRenderer $view) : string
Parameters
$url : string

Link href

$view : PhpRenderer

View renderer object

Return values
string

Search results