Removes the specified element from the collection, if it is found.
mixed $element The element to remove.:
boolean TRUE if this collection contained the specified element, FALSE otherwise.
Overrides Collection::removeElement
public function removeElement($element) {
$key = array_search($element, $this->_elements, true);
if ($key !== false) {
unset($this->_elements[$key]);
return true;
}
return false;
}