function finder::delete_element in Finder 7.2
Finder delete element.
Remove the element from the finder.
File
- includes/
finder.inc, line 128 - 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 delete_element(&$element) {
$this
->choice_delete($element);
unset($this->elements[$element->id]);
}