private function newHtmlContentBuilder($webRequest) { $htmlContentBuilder = new HtmlContentBuilder($this->applicationFactory->getStore(), $this->subjectDV->getDataItem()); $htmlContentBuilder->setOption('dir', $webRequest->getVal('dir')); $htmlContentBuilder->setOption('printable', $webRequest->getVal('printable')); $htmlContentBuilder->setOption('offset', $webRequest->getVal('offset')); $htmlContentBuilder->setOption('showInverse', $this->applicationFactory->getSettings()->get('smwgBrowseShowInverse')); $htmlContentBuilder->setOption('showAll', $this->applicationFactory->getSettings()->get('smwgBrowseShowAll')); $htmlContentBuilder->setOption('byApi', $this->applicationFactory->getSettings()->get('smwgBrowseByApi')); return $htmlContentBuilder; }