function _initReport($item) { $reportFactory = new Docman_ReportFactory($this->getGroupId()); if ($this->reportId === null && $this->request->exist('report_id')) { $this->reportId = (int) $this->request->get('report_id'); } $report =& $reportFactory->get($this->reportId, $this->request, $item, $this->feedback); $this->_viewParams['filter'] =& $report; }