getFilter(); $this->_getDataObj()->addFilter($filter); if (!($order = Qs_Request::getGetValue('orderBy'))) { $order = $this->_getList()->getDefaultOrderBy(); } if ($order) { $this->_getDataObj()->setSelectOptions(compact('order')); } if ($tribeId = Qs_Request::getGetValue('tribeId')) { $obj = $this->_getDataObj(); if (method_exists($obj, 'setTribeId')) { $obj->setTribeId($tribeId); } } $select = clone $this->_getDataObj()->getListSelect(); $options = $this->getConfigArray(Tool::class, []); if ($tribeId) { $options['targetDir'] = $options['targetDir'] . '-' . $tribeId; } $tool = $this->getConfig('pdfExportToolClass', Tool::class); $tool = new $tool(array_merge($options, compact('select'))); return $tool; } protected function _getListClassName() { return $this->getConfigArray(ToolAwareViewTrait::class)['listClass']; } protected function _getDataObjClass() { return $this->getConfigArray(ToolAwareViewTrait::class)['objClass']; } }