public function Tools($pa_parameters) { parent::Tools($pa_parameters); $this->view->setVar('mode_name', _t('search')); $this->view->setVar('mode_type_singular', $this->searchName('singular')); $this->view->setVar('mode_type_plural', $this->searchName('plural')); $this->view->setVar('table_name', $this->ops_tablename); $this->view->setVar('find_type', $this->ops_find_type); $this->view->setVar('search_history', $this->opo_result_context->getSearchHistory()); return $this->render('Search/widget_' . $this->ops_tablename . '_search_tools.php', true); }