function search_files_helper_name in Search Files 6.2
Same name and namespace in other branches
- 7.2 search_files.module \search_files_helper_name()
Get the name of a helper for the given extension.
1 call to search_files_helper_name()
- search_files_attachments_search in ./
search_files_attachments.module - Implementation of hook_search().
File
- ./
search_files.module, line 518 - Used to index files in attachments and directories
Code
function search_files_helper_name($ext) {
$result = db_query("SELECT name FROM {search_files_helpers} WHERE extension = '%s'", $ext);
if ($helper = db_fetch_object($result)) {
return $helper->name;
}
}