CMS  Version 3.9
AbstractSearchResult Class Reference
+ Inheritance diagram for AbstractSearchResult:

Public Member Functions

 getPrimaryKey ()
 
 get ($field)
 
 prettifyClassName ($plural=false)
 
 relevance ()
 
 title ()
 
 date ()
 
 format ($format)
 
 summary ()
 Display the item title and any other essential details for the item such as author and a create date. More...
 
 formatIcon ($icon, $alt)
 

Detailed Description

Definition at line 55 of file searchable.inc.

Member Function Documentation

◆ date()

AbstractSearchResult::date ( )
abstract

◆ format()

AbstractSearchResult::format (   $format)
abstract

◆ formatIcon()

AbstractSearchResult::formatIcon (   $icon,
  $alt 
)

Definition at line 78 of file searchable.inc.

79  {
80  return "<img class='search_result_icon' src='$icon' alt='$alt'/>\n";
81  }

◆ get()

AbstractSearchResult::get (   $field)
abstract

◆ getPrimaryKey()

AbstractSearchResult::getPrimaryKey ( )
abstract

◆ prettifyClassName()

AbstractSearchResult::prettifyClassName (   $plural = false)
abstract

◆ relevance()

AbstractSearchResult::relevance ( )
abstract

◆ summary()

AbstractSearchResult::summary ( )
abstract

Display the item title and any other essential details for the item such as author and a create date.

If Application Settings is set to show text fragment, display the teaser and a Read More link; otherwise, put the link to the full item' details directly on the title.

Reimplemented in PageSearchResult, LinkSearchResult, DocumentSearchResult, BlogSearchResult, and ArticleSearchResult.

◆ title()

AbstractSearchResult::title ( )
abstract

The documentation for this class was generated from the following file: