ExaLead::TextSeg

Location: /modules/ExaLead/TextSeg.pm
Source code · Permalink
No superclasses
No subclasses

Overview

Accessor

Constructor

Method

Documentation coverage: 100 %

Methods

    addPart
    Accessor. each element of the array is a pait - the first value is the text and the second value is a flag either 1 - highlighted, 0 - unhighlighted
    View source

    getHighlighted
    (exhibits same intreface as Exalead::Value)Returns a string with query terms tagged with with a highlighted span
    View source

    getParts
    Accessor.
    View source

    getString
    (exhibits same intreface as exalead::Value)Returns a plain (un-highlighted) version of the string for the renderer
    View source

    new
    Constructor.
    View source