function search_files_helper_db_add in Search Files 6.2
Same name and namespace in other branches
- 7.2 search_files.module \search_files_helper_db_add()
insert a row in the search_files_helpers table for the helper app given
2 calls to search_files_helper_db_add()
- search_files_helper_add_form_submit in ./
search_files.module - insert a row in the search_files_helpers table for the helper app given by the form
- search_files_install_auto_helper_app_configuration in ./
search_files.module - automatically detect helper apps and configure them
File
- ./
search_files.module, line 456 - Used to index files in attachments and directories
Code
function search_files_helper_db_add($name, $extension, $helper_path) {
$sql = "INSERT INTO {search_files_helpers} (name, extension, helper_path) VALUES ('%s', '%s', '%s')";
$result = db_query($sql, $name, $extension, $helper_path);
return $result;
}