Class ArchiveSearch.

Inherits PageComponent

A page component representing the results of a search.

ArchiveSearch::ArchiveSearch( Link * link )

Create a new ArchiveSearch for link.

void ArchiveSearch::computeResultSets()

Retrieves the result rows of the individual queries and computes the partial and aggregate result sets.

String ArchiveSearch::looongResultList() const

Returns a list of search results, optimised for large result sets.

String ArchiveSearch::middlingResultList() const

Returns a list of search results, optimised for large result sets.

void ArchiveSearch::parseTerms()

Parses the query term and stores the resulting terms. Quietly ignores errors.

There aren't really very many errors. Empty search terms, search terms containing nulls, BOMs, private-use codepoints, and that's about it.

bool ArchiveSearch::queriesDone() const

Returns true if all queries are done, false if at least one is outstanding.

String ArchiveSearch::searchTerms() const

Returns HTML to describe the search terms as parsed and used.

void ArchiveSearch::sendQueries()

Sends off each query to the database. Does not generate any output.

void ArchiveSearch::setTitle()

Computes and sets a suitable title. The title should be the shortest possible rendering of the search results.

String ArchiveSearch::shortishResultList() const

Returns a list of search results, optimised for small result set.

This web page based on source code belonging to Oryx Mail Systems GmbH. All rights reserved.