summaryrefslogtreecommitdiff
path: root/modules/search.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/search.module')
-rw-r--r--modules/search.module18
1 files changed, 9 insertions, 9 deletions
diff --git a/modules/search.module b/modules/search.module
index efb5876c1..f55f7eef3 100644
--- a/modules/search.module
+++ b/modules/search.module
@@ -32,7 +32,7 @@ function search_perm() {
/**
* Return an array of links to be displayed
*
- * @param $type The type of page requesting the link
+ * @param $type The type of page requesting the link
*
*/
function search_link($type) {
@@ -99,11 +99,11 @@ function search_cron() {
*
* Search function called by each node that supports the indexed search.
*
- * @param $search_array an array as returned from <i>module</i>_search
- * of type array("keys" => ..., "type" => ..., "select" => ...)
- * @see node_search for an explanation of array items
+ * @param $search_array an array as returned from <i>module</i>_search of type
+ * array("keys" => ..., "type" => ..., "select" => ...)
+ * @see node_search for an explanation of array items
*
- * @return array of search results, each element being an array indexed with
+ * @return array of search results, each element being an array indexed with
* "count", "title", "link", "user" (name), "date", "keywords"
*/
function do_search($search_array) {
@@ -216,9 +216,9 @@ function do_search($search_array) {
/**
* Update the search_index table
*
- * @param $search_array an array as returned from <i>module</i>_update_index
+ * @param $search_array an array as returned from <i>module</i>_update_index
* of type array("last_update" => ..., "node_type" => ..., "select" => ...)
- * @see node_update_index for an explanation of array items
+ * @see node_update_index for an explanation of array items
*/
function update_index($search_array) {
$last_update = variable_get($search_array["last_update"], 1);
@@ -327,8 +327,8 @@ function search_invalidate() {
/**
* Save the values entered by the administrator for the search module
*
- * @param $edit An array of fields as setup via calling form_textfield,
- * form_textarea etc
+ * @param $edit An array of fields as setup via calling form_textfield,
+ * form_textarea etc
*/
function search_save($edit) {
variable_set("minimum_word_size", $edit["minimum_word_size"]);