Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Package
This module implements all the search functionality.
| ||||||||
Changed: | ||||||||
< < | If type="word" it will be changed to type="keyword" with wordBoundaries=1 . This will be used for searching with scope="text" only, because scope="topic" will do a Perl search on topic names. | |||||||
> > | If type="word" it will be changed to type="keyword" with
wordBoundaries=1 . This will be used for searching with scope="text"
only, because scope="topic" will do a Perl search on topic names. | |||||||
SMELL: If template is defined bookview will not work
SMELL: it seems that if you define _callback or inline then you are
responsible for converting the TML to HTML yourself!
FIXME: callback cannot work with format parameter (consider format='| $topic |'
StaticMethod formatQuery ($meta,$query) -> $textStaticMethod displayFormField ($meta,$args) -> $textParse the arguments to a $formfield specification and extract the relevant formfield from the given meta data.
args can be appended with a commas
followed by a string format (\d+)([,\s*]\.\.\.)?). This supports the formatted
search function $formfield and is used to shorten the returned string or a
hyphenated string. |