/** * Substitues multiple subparts at once * * @param string $content The content stream, typically HTML template content. * @param array $subpartsContent The array of key/value pairs being subpart/content values used in the substitution. For each element in this array the function will substitute a subpart in the content stream with the content. * @return string The processed HTML content string. */ public function substituteSubpartArray($content, array $subpartsContent) { return HtmlParser::substituteSubpartArray($content, $subpartsContent); }
/** * Substitues multiple subparts at once * * @param string $content The content stream, typically HTML template content. * @param array $subpartsContent The array of key/value pairs being subpart/content values used in the substitution. For each element in this array the function will substitute a subpart in the content stream with the content. * @return string The processed HTML content string. */ public function substituteSubpartArray($content, array $subpartsContent) { return \TYPO3\CMS\Core\Html\HtmlParser::substituteSubpartArray($content, $subpartsContent); }