You are here

function finder::load_element_handlers in Finder 7.2

Finder load element handlers.

Attach element handler data to the finder.

1 call to finder::load_element_handlers()
finder::build_elements in includes/finder.inc
Finder build elements.

File

includes/finder.inc, line 342
finder.inc

Class

finder
An object to contain all of the data to generate a finder, plus the member functions to build the finder, and render the output.

Code

function load_element_handlers() {
  if (!empty($this->elements)) {
    $element_handlers = finder_element_handlers();
    foreach ($this->elements as &$element) {
      if (!empty($element_handlers[$element->element])) {
        $element->element_handler = $element_handlers[$element->element];
      }
    }
  }
}