Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
5314b9a1
Commit
5314b9a1
authored
Jan 13, 2005
by
Steven Wittens
Browse files
- Some search doxygen tweaks
parent
ccfc5e15
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/search.module
View file @
5314b9a1
...
...
@@ -285,7 +285,7 @@ function search_preprocess(&$text) {
/**
* Update the search index for a particular item.
* Update the
full-text
search index for a particular item.
*
* @param $sid
* A number identifying this particular item (e.g. node id).
...
...
@@ -407,10 +407,10 @@ function search_index($sid, $type, $text) {
}
/**
*
Perform a search on
a word or words.
*
Do a query on the full-text search index for
a word or words.
*
* This function is called by each module that support
s
the
indexed search
* (and thus, implements hook_update_index()).
* This function is
normally only
called by each module that support the
*
indexed search
(and thus, implements hook_update_index()).
*
* The final query is an SQL select on the search_index table. As a guide for
* writing the optional extra SQL fragments (see below), use this query:
...
...
@@ -602,7 +602,7 @@ function search_form($action = '', $keys = '', $type = null) {
}
/**
* Perform a search on the given keys, and return the formatted results.
* Perform a
standard
search on the given keys, and return the formatted results.
*/
function
search_data
(
$keys
=
NULL
,
$type
=
'node'
)
{
$output
=
''
;
...
...
modules/search/search.module
View file @
5314b9a1
...
...
@@ -285,7 +285,7 @@ function search_preprocess(&$text) {
/**
* Update the search index for a particular item.
* Update the
full-text
search index for a particular item.
*
* @param $sid
* A number identifying this particular item (e.g. node id).
...
...
@@ -407,10 +407,10 @@ function search_index($sid, $type, $text) {
}
/**
*
Perform a search on
a word or words.
*
Do a query on the full-text search index for
a word or words.
*
* This function is called by each module that support
s
the
indexed search
* (and thus, implements hook_update_index()).
* This function is
normally only
called by each module that support the
*
indexed search
(and thus, implements hook_update_index()).
*
* The final query is an SQL select on the search_index table. As a guide for
* writing the optional extra SQL fragments (see below), use this query:
...
...
@@ -602,7 +602,7 @@ function search_form($action = '', $keys = '', $type = null) {
}
/**
* Perform a search on the given keys, and return the formatted results.
* Perform a
standard
search on the given keys, and return the formatted results.
*/
function
search_data
(
$keys
=
NULL
,
$type
=
'node'
)
{
$output
=
''
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment