/program/modules/newsletter/newsletter_search.php - interface to the search-part of this module
This file defines the interface with this module for searching content. The interface consists of a (temporary) table and this function:
The function is called whenever module content is to be searched. At that point the helper table, which is called 'search_nodes', exists and is populated.
search this module's content in selected nodes for keywords in $qwords
This interface is documented in htmlpage_search() in htmlpage_search.php.
We have to search the following fields in two tables:
a. newsletters: 1 record/newsletter: title/subtitle/header/introduction/footer
b. newsletter_issues: 0,1,...N records/newsletter: html_title/html_body
Newsletters and -issues qualify only when the channel/status is 2 (website) or 3 (both) Hits in newsletters link to the main page (node=$node_id) Hits in the newsletter_issues link to node=$node_id,volume=$volume,number=$number
count the number of hits in $table
Documentation generated on Tue, 28 Jun 2016 19:11:01 +0200 by phpDocumentor 1.4.0