public function reset() { $this->getControls()->clear(); $this->getItems()->clear(); $this->_header = null; $this->_footer = null; $this->_topPager = null; $this->_bottomPager = null; $this->_useEmptyTemplate = false; }