function finder_load in Finder 7
Same name and namespace in other branches
- 6 finder.module \finder_load()
- 7.2 finder.module \finder_load()
Load a finder object from the database.
Parameters
$finder_id: The finder ID.
$reset: Whether to reset the internal cache for finder objects.
Return value
The loaded finder object, or FALSE on failure.
11 calls to finder_load()
- finder_admin_edit_submit in includes/
finder.admin.inc - Submit function for admin finder add/edit page.
- finder_ajax in ./
finder.module - Menu callback; get finder ajax output.
- finder_autocomplete_autocomplete in modules/
finder_autocomplete/ finder_autocomplete.module - Menu callback; get autocomplete suggestions.
- finder_block_view in ./
finder.module - Implements hook_block_view().
- finder_delete in ./
finder.module - Delete a finder and it's finder elements.
File
- ./
finder.module, line 424 - The finder module.
Code
function finder_load($finder_id, $reset = FALSE) {
$finders = finder_load_multiple(array(
$finder_id,
), array(), $reset);
return $finders ? $finders[$finder_id] : FALSE;
}