public function setAllElements($elements) { $this->_allElements = $elements; $this->_runCriteria(); }