function finder_load in Finder 6
Same name and namespace in other branches
- 7.2 finder.module \finder_load()
- 7 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_ahah in ./
finder.module - Menu callback; get finder ahah output.
- finder_autocomplete_autocomplete in modules/
finder_autocomplete/ finder_autocomplete.module - Menu callback; get autocomplete suggestions.
- finder_block in ./
finder.module - Implementation of hook_block().
- finder_delete in ./
finder.module - Delete a finder and it's finder elements.
File
- ./
finder.module, line 417 - 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;
}