function generate_output($params) { $this->set_template($params); require_once VIVVO_FS_INSTALL_ROOT . 'lib/vivvo/core/TagsGroups.class.php'; $list = new TagsGroups_list(); $list->search_from_params($params); $this->_template->assign('tags_groups_list', $list->list); $this->_template->assign('tags_groups', $list); $this->_template->assign('topics_list', $list->list); $this->_template->assign('topics', $list); if (isset($params['title'])) { $this->_template->assign('title', $params['title']); } $this->_template->assign('box_id', $params['box_id']); }