Class: SiteSearchResultDrop

Inherits:
Liquid::Simplero::Drop show all
Defined in:
app/drops/site_search_result_drop.rb

Overview

Represents an individual search result in a SiteSearchResultSetDrop.

Instance Method Summary collapse

Methods inherited from Liquid::Simplero::Drop

#dom_id

Instance Method Details

#bodyString

Returns:

  • (String)

Breadcrumbs for the result. For CourseLessonDrops, this will be the CourseDrop and CourseModuleDrop's names.

Returns:

  • (String)

#highlighted_bodyString

Body with text matching the query highlighted.

Returns:

  • (String)

#highlighted_titleString

Title with text matching the query highlighted.

Returns:

  • (String)

#media_durationString

Duration (in seconds) of the associated media.

Returns:

  • (String)

#titleString

Returns:

  • (String)

#typeString

Type of item for the result (BlogPostDrop, etc.)

Returns:

  • (String)

#urlString

Returns:

  • (String)