/** * Parses a template * * @param string $templatePath: the path to the template file * @param string $templateMarker: the marker subpart * @param array $aTags: array containing the values to render * @param [type] $aExclude: ... * @param [type] $bClearNotUsed: ... * @param [type] $aLabels: ... * @return string HTML string with substituted values */ function _parseTemplate($templatePath, $templateMarker, $aTags = array(), $aExclude = array(), $bClearNotUsed = TRUE, $aLabels = array(), $bThrusted = FALSE) { // $tempUrl : the path of the template for use with t3lib_div::getUrl() // $tempMarker : the template subpart marker // $aTags : the marker array for substitution // $aExclude : tag names that should not be substituted if ($templateMarker[0] === "L" && substr($templateMarker, 0, 4) === "LLL:") { $templateMarker = $this->getLLLabel($templateMarker); } $templatePath = tx_ameosformidable::toServerPath($templatePath); return tx_ameosformidable::_parseTemplateCode(t3lib_parsehtml::getSubpart(t3lib_div::getUrl($templatePath), $templateMarker), $aTags, $aExclude, $bClearNotUsed, $aLabels, $bThrusted); }