function renderWithFluid($object = null) { $templateFile = GeneralUtility::getFileAbsFileName($this->conf['view.'][$this->conf['view'] . '.'][$this->conf['view'] . 'TemplateFluid']); /** @var $view \TYPO3\CMS\Fluid\View\StandaloneView */ $view = new \TYPO3\CMS\Fluid\View\StandaloneView(); $view->setTemplatePathAndFilename($templateFile); $view->assign($this->conf['view'] . 'View', $this); if (is_object($object)) { $view->assign($this->conf['view'], $object); } $view->assign('settings', \TYPO3\CMS\Cal\Utility\Functions::getTsSetupAsPlainArray($this->conf)); return $view->render(); }