finder_element_load

  1. finder
    1. 6.x-1.x
    2. 7.x-1.x
Versions
6.x-1.x finder_element_load($finder_element_id)
7.x-1.x finder_element_load($finder_element_id, $reset = FALSE)

Load a finder element object from the database.

Parameters

$finder_element_id The finder element ID.

$reset Whether to reset the internal cache for finder element objects.

Return value

The loaded finder element object, or FALSE on failure.

▾ 2 functions call finder_element_load()

finder_element_delete in ./finder.module
Delete a finder element.
finder_i18nstrings_map_from_form in modules/finder_i18nstrings/finder_i18nstrings.module
Get a default map of which fields are translatable from the form.

Code

./finder.module, line 486

<?php
function finder_element_load($finder_element_id, $reset = FALSE) {
  $finder_elements = finder_element_load_multiple(array($finder_element_id), array(), $reset);
  return $finder_elements ? $finder_elements[$finder_element_id] : FALSE;
}
?>

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.