/** * */ function getSelectedFilters($params, &$displayedFilters) { $html = ''; $html .= '<table class="docman_form">'; $fi = $this->report->getFilterIterator(); $trashLinkBase = $this->view->_buildSearchUrl($params, array('del_filter' => '')); if ($fi->count() == 0) { $html .= '<div style="text-align:center; font-style:italic;">'; $filterFactory = new Docman_FilterFactory($this->report->getGroupId()); $f = $filterFactory->getFakeGlobalSearchFilter(); $html .= $this->_getFilterDisplayBox($f, $params, false, $displayedFilters); $html .= '</div>'; } // Display filters fields $fi->rewind(); while ($fi->valid()) { $f =& $fi->current(); $html .= $this->_getFilterDisplayBox($f, $params, $trashLinkBase, $displayedFilters); $fi->next(); } $ci = $this->report->getColumnIterator(); $ci->rewind(); while ($ci->valid()) { $c = $ci->current(); $html .= $c->getSortSelectorHtml(); $ci->next(); } $html .= '</table>'; return $html; }