protected function getTemplate()
    {
        $templateFile = '';
        if (isset($this->ffData['templateFile']) && !empty($this->ffData['templateFile'])) {
            $templateFile = $this->ffData['templateFile'];
        } elseif (isset($this->conf['defaultTemplateFileName'])) {
            $templateFile = $this->conf['defaultTemplateFileName'];
        }

        if ($templateFile === 'default') {
            $templateFile = $this->conf['defaultTemplateFileName'];
        }

        $templateCode = file_get_contents(GeneralUtility::getFileAbsFileName($this->conf['templatePath'] . $templateFile));
        return $this->templateService->getSubpart($templateCode, '###TEMPLATE_ADDRESS###');
    }
protected function getTemplate()
    {
        $templateFile = '';
        if (isset($this->ffData['templateFile']) && !empty($this->ffData['templateFile'])) {
            $templateFile = $this->ffData['templateFile'];
        } elseif (isset($this->conf['defaultTemplateFileName'])) {
            $templateFile = $this->conf['defaultTemplateFileName'];
        }

        if ($templateFile === 'default') {
            $templateFile = $this->conf['defaultTemplateFileName'];
        }

        $templateCode = file_get_contents(GeneralUtility::getFileAbsFileName($this->conf['templatePath'] . $templateFile));
        return $this->templateService->getSubpart($templateCode, '###TEMPLATE_ADDRESS###');
    }
protected function getTemplate ( ) { $ templateFile = '' ; if ( isset ( $ this -> ffData [ 'templateFile' ] ) && ! empty ( $ this -> ffData [ 'templateFile' ] ) ) { $ templateFile = $ this -> ffData [ 'templateFile' ] ; } elseif ( isset ( $ this -> conf [ 'defaultTemplateFileName' ] ) ) { $ templateFile = $ this -> conf [ 'defaultTemplateFileName' ] ; } if ( $ templateFile === 'default' ) { $ templateFile = $ this -> conf [ 'defaultTemplateFileName' ] ; } $ templateCode = file_get_contents ( GeneralUtility :: getFileAbsFileName ( $ this -> conf [ 'templatePath' ] . $ templateFile ) ) ; return $ this -> templateService -> getSubpart ( $ templateCode , '###TEMPLATE_ADDRESS###' ) ; }
gets the html template code from the selected template, extracts the
address subpart and returns the html with unreplaced marker

@return string html template code
gets the html template code from the selected template extracts the address subpart and returns the html with unreplaced marker