Rechercher une page de manuel
KinoSearch::Highlight::Formatter.3pm
Langue: en
Version: 2009-04-13 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
KinoSearch::Highlight::Formatter - format highlighted bits within excerptsSYNOPSIS
# abstract base class
DESCRIPTION
Formatter objects serve one purpose: they highlight pieces of text within an excerpt. The text might be a single term, or it might be a phrase.METHODS
highlight
my $highlighted = $formatter->highlight($text);
Highlight text by e.g. surrounding it with asterisks, or html ``strong'' tags, etc.
COPYRIGHT
Copyright 2006-2009 Marvin HumphreyLICENSE, DISCLAIMER, BUGS, etc.
See KinoSearch version 0.165.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre